Home -> IShaderProgram -> GetVertexAttributeId

Description

The GetVertexAttributeId method retrieves the ID of the specified vertex attribute, or VertexAttributeId::Null if the attribute could not be found.

Usage

VertexAttributeId GetVertexAttributeId(const Marshal::In<std::string>& name) const;

Argument list

name [const Marshal::In<std::string>]
The shader-visible resource or input name to look up.

Return value

[VertexAttributeId]
The ID of the named vertex attribute, or VertexAttributeId::Null if no matching attribute exists.

See also