Home -> IShaderProgram -> GetResourceArrayId

Description

The GetResourceArrayId method retrieves the ID of the specified resource array (ITexelArray or IDataArray), or ResourceArrayId::Null if the resource could not be found.

Usage

ResourceArrayId GetResourceArrayId(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

[ResourceArrayId]
The ID of the named resource array, or ResourceArrayId::Null if no matching resource exists.

See also