IDLgrSurface::GetVertexAttributeData
The IDLgrSurface::GetVertexAttributeData procedure method retrieves the data associated with a named attribute variable containing per-vertex attribute data. This method is useful when a shader program defined by an IDLgrShader object modifies the vertices of an object.
Syntax
Obj->[IDLgrSurface::]GetVertexAttributeData, Name, Value
Arguments
Name
Specifies a case-sensitive string name of the attribute variable to retrieve.
Note: If the Name argument specifies an attribute variable that was never defined and stored in the surface object using SetVertexAttributeData, then the variable specified in the Value parameter will be set to an undefined variable.
Value
Specifies a variable that contains the current value of the vertex data attribute variable. The variable is stored in this parameter in exactly the same format as that used when it was defined using IDLgrSurface::SetVertexAttributeData.
Keywords
None
Version History
6.4 |
Introduced |