Home -> IShaderProgram -> GetTextureId

Description

The GetTextureId method retrieves the ID of the specified texture input, or TextureId::Null if the texture input could not be found.

Usage

TextureId GetTextureId(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

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

See also