Shader material ECS example

This commit is contained in:
2026-04-10 12:48:05 -05:00
parent 37cfdde1ee
commit 673d8e0a18
20 changed files with 349 additions and 64 deletions
+15 -1
View File
@@ -80,9 +80,23 @@ errorret_t shaderSetTextureDolphin(
texture_t *texture
);
/**
* Sets a color uniform in the dolphin shader.
*
* @param shader Shader to set the color in.
* @param name Name of the uniform to set.
* @param color Color to set.
* @return Error code if failure.
*/
errorret_t shaderSetColorDolphin(
shaderdolphin_t *shader,
const char_t *name,
color_t color
);
/**
* Disposes a dolphin shader. Basically does nothing.
*
*
* @param shader Shader to dispose.
* @return Error code if failure.
*/