#include <SimplygonSDK.h>
ISwizzlingNode describes a node that can remap the input to the specified output.
Definition at line 16302 of file SimplygonSDK.h.
◆ GetAlphaComponent()
virtual unsigned int SimplygonSDK::IShadingSwizzlingNode::GetAlphaComponent |
( |
| ) |
|
|
pure virtual |
Get the component index in the input color that Alpha component will be copied from
- Returns
- the input component index. Allowed values are 0:R 1:G 2:B 3:A
◆ GetBlueComponent()
virtual unsigned int SimplygonSDK::IShadingSwizzlingNode::GetBlueComponent |
( |
| ) |
|
|
pure virtual |
Get the component index in the input color that Blue component will be copied from
- Returns
- the input component index. Allowed values are 0:R 1:G 2:B 3:A
◆ GetClass()
virtual const char* SimplygonSDK::IShadingSwizzlingNode::GetClass |
( |
| ) |
|
|
virtual |
GetClass returns the name of the class of the object.
- Returns
- the name of the actual class of the object, as a const char string
Reimplemented from SimplygonSDK::IShadingFilterNode.
◆ GetGreenComponent()
virtual unsigned int SimplygonSDK::IShadingSwizzlingNode::GetGreenComponent |
( |
| ) |
|
|
pure virtual |
Get the component index in the input color that Green component will be copied from
- Returns
- the input component index. Allowed values are 0:R 1:G 2:B 3:A
◆ GetRedComponent()
virtual unsigned int SimplygonSDK::IShadingSwizzlingNode::GetRedComponent |
( |
| ) |
|
|
pure virtual |
Get the component index in the input color that Red component will be copied from
- Returns
- the input component index. Allowed values are 0:R 1:G 2:B 3:A
◆ IsA()
virtual bool SimplygonSDK::IShadingSwizzlingNode::IsA |
( |
const char * |
type | ) |
const |
|
virtual |
The IsA function returns true if the object is a or is a descendant of the class named as the type parameter
- Parameters
-
type | is the name of the class to check if the object is, or is a descendant of |
- Returns
- true if the object is of the specified class, false if not
Reimplemented from SimplygonSDK::IShadingFilterNode.
◆ IsClassA()
static bool SimplygonSDK::IShadingSwizzlingNode::IsClassA |
( |
const char * |
type | ) |
|
|
inlinestatic |
The IsClassA function returns true if IShadingSwizzlingNode is a or is a descendant of the class named as the type parameter
- Parameters
-
type | is the name of the class to check if the class is, or is a descendant of |
- Returns
- true if the class is of the specified class, false if not
Definition at line 16323 of file SimplygonSDK.h.
◆ SafeCast()
SafeCast makes sure the pointer is of a class that can be cast into a IShadingSwizzlingNode pointer, and if this is possible, returns the cast pointer.
- Parameters
-
- Returns
- a pointer to the IShadingSwizzlingNode object, if the cast can be made, and a NULL pointer otherwise
Definition at line 16336 of file SimplygonSDK.h.
◆ SetAlphaComponent()
virtual void SimplygonSDK::IShadingSwizzlingNode::SetAlphaComponent |
( |
unsigned int |
value | ) |
|
|
pure virtual |
Set the component index in the input color that Alpha component will be copied from
- Parameters
-
value | the input component index. Allowed values are 0:R 1:G 2:B 3:A Value cannot be less than 0. Value cannot be greater than 3. |
◆ SetBlueComponent()
virtual void SimplygonSDK::IShadingSwizzlingNode::SetBlueComponent |
( |
unsigned int |
value | ) |
|
|
pure virtual |
Set the component index in the input color that Blue component will be copied from
- Parameters
-
value | the input component index. Allowed values are 0:R 1:G 2:B 3:A Value cannot be less than 0. Value cannot be greater than 3. |
◆ SetGreenComponent()
virtual void SimplygonSDK::IShadingSwizzlingNode::SetGreenComponent |
( |
unsigned int |
value | ) |
|
|
pure virtual |
Set the component index in the input color that Green component will be copied from
- Parameters
-
value | the input component index. Allowed values are 0:R 1:G 2:B 3:A Value cannot be less than 0. Value cannot be greater than 3. |
◆ SetRedComponent()
virtual void SimplygonSDK::IShadingSwizzlingNode::SetRedComponent |
( |
unsigned int |
value | ) |
|
|
pure virtual |
Set the component index in the input color that Red component will be copied from
- Parameters
-
value | the input component index. Allowed values are 0:R 1:G 2:B 3:A Value cannot be less than 0. Value cannot be greater than 3. |
The documentation for this class was generated from the following file: