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

#include <../../include/gfx/llr/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.