IDLgrPolygon::GetVertexAttributeData

Syntax | Arguments | Keywords | Examples | Version History | See Also

The IDLgrPolygon::GetVertexAttributeData procedure method retrieves the data associated with a named attribute variable containing per-vertex attribute data. See Attribute Variables (Object Programming) 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 (Object Programming) for more information.

Syntax

Obj->[IDLgrPolygon::]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 polygon 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 IDLgrPolygon::SetVertexAttributeData.

Keywords

None

Examples

See Vertex Shaders (Object Programming).

Version History

6.4

Introduced

See Also

IDLgrPolygon::SetVertexAttributeData