mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
Changes on ShaderGen for generate GLSL shaders.
This commit is contained in:
parent
c354f59b72
commit
61d3e52ad1
4 changed files with 20 additions and 18 deletions
|
|
@ -43,7 +43,8 @@ class ShaderComponent
|
|||
public:
|
||||
virtual ~ShaderComponent() {}
|
||||
|
||||
virtual void print( Stream &stream ){};
|
||||
virtual void print( Stream &stream, bool isVerterShader ){};
|
||||
virtual void printOnMain( Stream &stream, bool isVerterShader ){};
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -86,7 +87,7 @@ public:
|
|||
virtual void reset() = 0;
|
||||
virtual void sortVars() = 0;
|
||||
|
||||
virtual void print( Stream &stream ) = 0;
|
||||
virtual void print( Stream &stream, bool isVerterShader ) = 0;
|
||||
};
|
||||
|
||||
/// This is to provide common functionalty needed by vertex and pixel main defs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue