mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
requirements for windDeformation unified featuer
This commit is contained in:
parent
5bbbff3219
commit
050d704e77
4 changed files with 123 additions and 3 deletions
|
|
@ -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_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue