|
| ShaderOutput (ShaderNode *node, const TypeDesc *type, const string &name) |
|
const ShaderInputVec & | getConnections () const |
|
void | makeConnection (ShaderInput *dst) |
| Make a connection from this output to the given input. More...
|
|
void | breakConnection (ShaderInput *dst) |
| Break a connection from this output to the given input. More...
|
|
void | breakConnections () |
| Break all connections from this output. More...
|
|
| ShaderPort (ShaderNode *node, const TypeDesc *type, const string &name, ValuePtr value=nullptr) |
| Constructor. More...
|
|
ShaderPortPtr | getSelf () |
| Return a shared pointer instance of this object. More...
|
|
ShaderNode * | getNode () |
| Return the node this port belongs to. More...
|
|
const ShaderNode * | getNode () const |
| Return the node this port belongs to. More...
|
|
void | setType (const TypeDesc *type) |
| Set the data type for this port. More...
|
|
const TypeDesc * | getType () const |
| Return the data type for this port. More...
|
|
void | setName (const string &name) |
| Set the name of this port. More...
|
|
const string & | getName () const |
| Return the name of this port. More...
|
|
string | getFullName () const |
| Return the name of this port. More...
|
|
void | setVariable (const string &name) |
| Set the variable name of this port. More...
|
|
const string & | getVariable () const |
| Return the variable name of this port. More...
|
|
void | setSemantic (const string &semantic) |
| Set the variable semantic of this port. More...
|
|
const string & | getSemantic () const |
| Return the variable semantic of this port. More...
|
|
void | setValue (ValuePtr value) |
| Set a value on this port. More...
|
|
ValuePtr | getValue () const |
| Return the value set on this port. More...
|
|
string | getValueString () const |
| Return the value set on this port as a string, or an empty string if there is no value. More...
|
|
void | setColorSpace (const string &colorspace) |
| Set a source color space for the value on this port. More...
|
|
const string & | getColorSpace () const |
| Return the source color space for the value on this port. More...
|
|
void | setUnit (const string &unit) |
| Set a unit type for the value on this port. More...
|
|
const string & | getUnit () const |
| Return the unit type for the value on this port. More...
|
|
void | setGeomProp (const string &geomprop) |
|
const string & | getGeomProp () const |
| Get geomprop name. More...
|
|
void | setPath (const string &path) |
| Set the path to this port. More...
|
|
const string & | getPath () const |
| Return the path to this port. More...
|
|
void | setFlags (uint32_t flags) |
| Set flags on this port. More...
|
|
uint32_t | getFlags () const |
| Return flags set on this port. More...
|
|
void | setFlag (uint32_t flag, bool value) |
| Set the on|off state of a given flag. More...
|
|
bool | getFlag (uint32_t flag) const |
| Return the on|off state of a given flag. More...
|
|
void | setUniform () |
| Set the uniform flag this port to true. More...
|
|
bool | isUniform () const |
| Return the uniform flag on this port. More...
|
|
void | setEmitted () |
| Set the emitted state on this port to true. More...
|
|
bool | isEmitted () const |
| Return the emitted state of this port. More...
|
|
void | setBindInput () |
| Set the bind input state on this port to true. More...
|
|
bool | isBindInput () const |
| Return the emitted state of this port. More...
|
|
void | setMetadata (ShaderMetadataVecPtr metadata) |
| Set the metadata vector. More...
|
|
ShaderMetadataVecPtr | getMetadata () |
| Get the metadata vector. More...
|
|
const ShaderMetadataVecPtr & | getMetadata () const |
| Get the metadata vector. More...
|
|