Proper splitting of D3D and OpenGL sides of the CSF.

This commit is contained in:
Areloch 2019-05-22 21:44:07 -05:00
parent 9a63761627
commit 1259e5245b
3 changed files with 71 additions and 20 deletions

View file

@ -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;