diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/gfx/llr/llr.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/gfx/llr/llr.h b/include/gfx/llr/llr.h index 8add1d5..098374d 100644 --- a/include/gfx/llr/llr.h +++ b/include/gfx/llr/llr.h | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | typedef struct Anima Anima; | 7 | typedef struct Anima Anima; |
| 8 | typedef struct Geometry Geometry; | 8 | typedef struct Geometry Geometry; |
| 9 | typedef struct Light Light; | 9 | typedef struct Light Light; |
| 10 | typedef struct Material Material; | ||
| 10 | typedef struct Mesh Mesh; | 11 | typedef struct Mesh Mesh; |
| 11 | typedef struct ShaderProgram ShaderProgram; | 12 | typedef struct ShaderProgram ShaderProgram; |
| 12 | typedef struct Skeleton Skeleton; | 13 | typedef struct Skeleton Skeleton; |
| @@ -33,6 +34,13 @@ void gfx_llr_set_skeleton(LLR*, const Anima*, const Skeleton*); | |||
| 33 | /// Clear the loaded skeleton. | 34 | /// Clear the loaded skeleton. |
| 34 | void gfx_llr_clear_skeleton(LLR*); | 35 | void gfx_llr_clear_skeleton(LLR*); |
| 35 | 36 | ||
| 37 | /// Set the material. | ||
| 38 | /// | ||
| 39 | /// The material need not be set explicitly when rendering a mesh | ||
| 40 | /// (gfx_llr_render_mesh). This is mostly useful when using the lower-level | ||
| 41 | /// function to render geometry (gfx_llr_render_geometry). | ||
| 42 | void gfx_llr_set_material(LLR*, const Material*); | ||
| 43 | |||
| 36 | /// Set the camera. | 44 | /// Set the camera. |
| 37 | void gfx_llr_set_camera(LLR*, const Camera*); | 45 | void gfx_llr_set_camera(LLR*, const Camera*); |
| 38 | 46 | ||
