|
IDL Reference Guide: Graphics Object Classes |
|
The IDLgrPolygon::GetVertexAttributeData procedure method retrieves the data associated with a named attribute variable containing per-vertex attribute data. See Attribute Variables for general attribute variable information. This method is useful when a shader program defined by an IDLgrShader object modifies the vertices of an object. See Advanced Rendering Using Shader Objects for more information.
Obj->[IDLgrPolygon::]GetVertexAttributeData, Name, Value
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 polygon object using SetVertexAttributeData, then the variable specified in the Value parameter will be set to an undefined variable. |
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 IDLgrPolygon::SetVertexAttributeData.
None
See Vertex Shaders.
IDLgrPolygon::SetVertexAttributeData
IDL Online Help (March 06, 2007)