Home -> IShaderProgram -> GetStateBufferId

Description

The GetStateBufferId method retrieves the ID of the specified state buffer, or StateBufferId::Null if the buffer could not be found.

Usage

StateBufferId GetStateBufferId(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

[StateBufferId]
The ID of the named state buffer, or StateBufferId::Null if no matching buffer exists.

See also