Provides script language access to C++ objects of this type.
| Class Hierarchy | Type » BlockParams |
Function members are as follows:
| Return Type | Function Name | Documentation |
|---|---|---|
| string | GetInstanceNameString | Sets the string parameter to the block's instance name string. For example, in "struct myStruct { vec4 myColor; } colorObject[4];", "colorObject[4]" is the block's instance name string. |
Object members are as follows:
| Type Name | Accessor Name | Documentation |
|---|---|---|
| <ArrayParameters> | ArrayParameters | Returns a pointer to the <BlockParam> object's <ArrayParameters> data member so that you can configure array parameters. |
| <InterfaceConnection> | InterfaceConnection | Returns a pointer to the <BlockParam> object's <InterfaceConnection> data member so that you can configure interface connections between certain objects. For example: a struct or interface block that is marked "out" of one shader stage may be connected to the corresponding struct or interface block marked "in" in the subsequent shader stage. |
| <LanguageQualifier> | Qualifier | This object has been deprecated. |
| string | BlockInstanceName | Gets or sets the <Node> object's block name string. For example, in the declaration: 'struct myStruct { vec4 myVec; } instanceMyStruct;', 'instanceMyStruct' is the block instance's name. |
| string | BlockName | Gets or sets the <Node> object's block name string. For example, in the declaration: 'struct myStruct', 'myStruct' is the block's name. |