blob: 138497f87fa5bf6ed0af5790876a49143376b98f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include <../../include/gfx/llr/material.h>
typedef struct ShaderProgram ShaderProgram;
typedef struct Material {
ShaderUniform uniforms[GFX_MAX_UNIFORMS_PER_MATERIAL];
int num_uniforms;
} Material;
/// Activate the material.
///
/// This configures the shader uniforms that are specific to the material.
void gfx_material_activate(ShaderProgram* shader, const Material* material);
|