Home -> IShaderProgram -> VertexAttributeExists

Description

The VertexAttributeExists method returns true if the specified vertex attribute exists.

Usage

bool VertexAttributeExists(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

[bool]
True if the compiled shader program exposes a vertex attribute with the specified name, false otherwise.

See also