|
Kemena3D
|
A single input or output connection point on a shader node. More...
#include <kshadernode.h>
Public Attributes | |
| int | id = 0 |
| Unique pin id within the graph. | |
| kString | name |
| Display name of the pin. | |
| kPinType | type = kPinType::Float |
| Data type carried by the pin. | |
| bool | isOutput = false |
| True if this is an output pin. | |
| float | defFloat = 0.0f |
| Default scalar value when unconnected. | |
| float | defVec [4] = { 0.f, 0.f, 0.f, 1.f } |
| Default vector value when unconnected. | |
| float | uiX = 0 |
| float | uiY = 0 |
| Cached screen-space position (set during draw). | |
A single input or output connection point on a shader node.
Holds the pin's type, a default value used when no link feeds it, and a cached screen-space position populated during node-editor drawing.
| float kemena::kShaderPin::defFloat = 0.0f |
Default scalar value when unconnected.
| float kemena::kShaderPin::defVec[4] = { 0.f, 0.f, 0.f, 1.f } |
Default vector value when unconnected.
| int kemena::kShaderPin::id = 0 |
Unique pin id within the graph.
| bool kemena::kShaderPin::isOutput = false |
True if this is an output pin.
| kString kemena::kShaderPin::name |
Display name of the pin.
| kPinType kemena::kShaderPin::type = kPinType::Float |
Data type carried by the pin.
| float kemena::kShaderPin::uiX = 0 |
| float kemena::kShaderPin::uiY = 0 |
Cached screen-space position (set during draw).