requirements for windDeformation unified featuer

This commit is contained in:
marauder2k7 2025-03-23 17:24:47 +00:00
parent 5bbbff3219
commit 050d704e77
4 changed files with 123 additions and 3 deletions

View file

@ -59,7 +59,6 @@ public:
ShaderOp( LangElement *in1, LangElement *in2 );
};
//----------------------------------------------------------------------------
/*!
DecOp - Declaration Operation - Used when declaring a variable in a shader
feature. It will automatically print the type of the variable and then
@ -82,7 +81,6 @@ public:
float foo = 8.0 * 5.0;
@endcode
*/
//----------------------------------------------------------------------------
class DecOp : public ShaderOp
{
typedef ShaderOp Parent;
@ -163,4 +161,14 @@ public:
};
class CastOp : public ShaderOp
{
typedef ShaderOp Parent;
const char* mConstType;
public:
CastOp(Var* in1, GFXShaderConstType type);
void print(Stream& stream) override;
};
#endif // _SHADEROP_H_