mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-28 15:55:39 +00:00
backup before connections
everything in shaderEditor now finished only thing left to add is the connections.
This commit is contained in:
parent
be0689549a
commit
6e85b43088
4 changed files with 577 additions and 9 deletions
|
|
@ -39,20 +39,29 @@ ShaderNode::ShaderNode()
|
|||
|
||||
bool ShaderNode::onWake()
|
||||
{
|
||||
return false;
|
||||
if (!Parent::onWake())
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void ShaderNode::onSleep()
|
||||
{
|
||||
Parent::onSleep();
|
||||
}
|
||||
|
||||
void ShaderNode::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
bool ShaderNode::onAdd()
|
||||
{
|
||||
return false;
|
||||
if (!Parent::onAdd())
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void ShaderNode::onRemove()
|
||||
|
|
|
|||
|
|
@ -38,11 +38,13 @@ enum class NodeTypes
|
|||
Output,
|
||||
TextureSampler,
|
||||
MathOperation,
|
||||
Procedural
|
||||
Procedural,
|
||||
Generator
|
||||
};
|
||||
|
||||
enum class DataDimensions
|
||||
{
|
||||
Dynamic, // can be any dimension, usually defined by what was connected to it.
|
||||
Scalar,
|
||||
Vector2,
|
||||
Vector3,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue