Provides script language access to C++ objects of this type.
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
<ShaderBufferNode> | BoundToBuffer | Returns true if this <Node> is connected to a <ShaderBufferNode>. |
int32 | GetDeclarations | Populates a <NodeBuffer> with pointers to all variables declared as part of the <ShaderBufferNode> this <Node> binds. |
uint32 | GetPaddingSize | Returns the padding size in bytes. |
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
int32 | BindMode | Sets the binding mode. This refers to the ShaderBufferBindMode enumeration. Please see APP_SERVICE_ENUMERATION_UTIL.SSL for more information. |
<ShaderBufferNode> | Buffer | Gets or sets the <ShaderBufferNode> you wish to bind with the <ShaderBufferBindNode>. |
<Node> | BufferLink | Gets or sets the <ShaderBufferNode> you wish to bind with the <ShaderBufferBindNode>. If the data source is a <NodeLink>, this data interface returns the underlying <Node>. |
uint32 | ExtraBytes | Sets or gets the extra bytes required by the buffer allocation. This only affects shader buffers where the last member is declared as variably-sized. For example: buffer my_buffer { float[]; };. |
int32 | PaddingMode | Sets or gets the padding mode, which specifies the alignment. This refers to the PaddingMode enumeration. Please see APP_SERVICE_ENUMERATION_UTIL.SSL for more information. |
int32 | SlotIndex | Gets or sets the binding point for the <ShaderBufferNode> being bound by this object. |
int32 | UsageHint | Sets or gets the usage hint. This refers to the RenderBufferUsage enumeration. Please see APP_SERVICE_ENUMERATION_UTIL.SSL for more information. |