mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 23:54:35 +00:00
Update GLSL Shadergen. Not used on DX9.
This commit is contained in:
parent
ba36617aec
commit
9221b4dd10
20 changed files with 1944 additions and 1128 deletions
|
|
@ -40,7 +40,9 @@ public:
|
|||
virtual void reset();
|
||||
virtual void sortVars();
|
||||
|
||||
virtual void print( Stream &stream );
|
||||
virtual void print( Stream &stream, bool isVerterShader );
|
||||
void printStructDefines( Stream &stream, bool in );
|
||||
virtual void printOnMain( Stream &stream, bool isVerterShader );
|
||||
};
|
||||
|
||||
class AppVertConnectorGLSL : public ShaderConnector
|
||||
|
|
@ -53,21 +55,22 @@ public:
|
|||
virtual void reset();
|
||||
virtual void sortVars();
|
||||
|
||||
virtual void print( Stream &stream );
|
||||
virtual void print( Stream &stream, bool isVerterShader );
|
||||
virtual void printOnMain( Stream &stream, bool isVerterShader );
|
||||
};
|
||||
|
||||
|
||||
class VertexParamsDefGLSL : public ParamsDef
|
||||
{
|
||||
public:
|
||||
virtual void print( Stream &stream );
|
||||
virtual void print( Stream &stream, bool isVerterShader );
|
||||
};
|
||||
|
||||
|
||||
class PixelParamsDefGLSL : public ParamsDef
|
||||
{
|
||||
public:
|
||||
virtual void print( Stream &stream );
|
||||
virtual void print( Stream &stream, bool isVerterShader );
|
||||
};
|
||||
|
||||
#endif // _SHADERCOMP_GLSL_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue