mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-23 14:20:57 +00:00
Added support for uniforms, textures and samplers.
This commit is contained in:
parent
5019478aad
commit
74138342d1
7 changed files with 235 additions and 9 deletions
|
|
@ -59,6 +59,10 @@ public:
|
|||
|
||||
//shadergen setup
|
||||
void addVariable(String name, String type, String defaultValue);
|
||||
void addUniform(String name, String type, String defaultValue, U32 arraySize);
|
||||
void addSampler(String name, String type, U32 arraySize);
|
||||
void addTexture(String name, String type, String samplerState, U32 arraySize);
|
||||
|
||||
void writeLine(String format, S32 argc, ConsoleValueRef *argv);
|
||||
|
||||
//shader generation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue