aboutsummaryrefslogtreecommitdiff
path: root/src/scene/mesh_impl.h
blob: 560b77ea3215f70dcceefecc74ea6e6443bec73c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include <gfx/scene/mesh.h>

typedef struct Mesh {
  const Geometry* geometry;
  const Material* material;
  ShaderProgram*  shader;
} Mesh;

// TODO: a mesh_render() that takes a transform, applies the material and the
// transform, and then renders the geometry.