mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Working on shader const binding
This commit is contained in:
parent
70c154c7d3
commit
7219899287
11 changed files with 96 additions and 33 deletions
|
|
@ -66,6 +66,8 @@ class CustomFeatureHLSL : public ShaderFeatureHLSL
|
|||
public:
|
||||
CustomShaderFeatureData* mOwner;
|
||||
|
||||
MaterialFeatureData mFeatureData;
|
||||
|
||||
protected:
|
||||
MultiLine *meta;
|
||||
|
||||
|
|
@ -100,6 +102,8 @@ public:
|
|||
return mOwner->getName();
|
||||
}
|
||||
|
||||
bool hasFeature(String name);
|
||||
|
||||
void addUniform(String name, String type, String defaultValue, U32 arraySize = 0);
|
||||
void addVariable(String name, String type, String defaultValue);
|
||||
void addSampler(String name, String type, U32 arraySize = 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue