Home -> IShaderProgram -> StateValueExists

Description

The StateValueExists method returns true if the specified global state value exists.

Usage

bool StateValueExists(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 state value with the specified name, false otherwise.

See also