mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
Proper splitting of D3D and OpenGL sides of the CSF.
This commit is contained in:
parent
9a63761627
commit
1259e5245b
3 changed files with 71 additions and 20 deletions
|
|
@ -27,16 +27,24 @@
|
|||
#include "console/simObject.h"
|
||||
#endif
|
||||
|
||||
#ifdef TORQUE_D3D11
|
||||
class CustomFeatureHLSL;
|
||||
#endif
|
||||
#ifdef TORQUE_OPENGL
|
||||
class CustomFeatureGLSL;
|
||||
#endif
|
||||
|
||||
class CustomShaderFeatureData : public SimObject
|
||||
{
|
||||
typedef SimObject Parent;
|
||||
|
||||
public:
|
||||
#ifdef TORQUE_D3D11
|
||||
CustomFeatureHLSL* mFeatureHLSL;
|
||||
#endif
|
||||
#ifdef TORQUE_OPENGL
|
||||
CustomFeatureGLSL* mFeatureGLSL;
|
||||
#endif
|
||||
|
||||
Vector<StringTableEntry> mAddedShaderConstants;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue