SearchBindSymbolNum

nn::gr::CTR::Shader::SearchBindSymbolNum Member Function

Syntax

u32 SearchBindSymbolNum(
     const BindSymbol::ShaderType shader_type,
     const BindSymbol::SymbolType symbol_type
) const;

Parameters

Name Description
in shader_type The type of shader to search for.
in symbol_type The type to be searched for.

Return Values

Returns the number of symbols that were found.

Description

Searches how many symbols there are of the specified type. Searches for how many symbols there are of the specified type among those set by pragma_bind_symbol in the shader code. Call this function after setting the shader binary using the SetupBinary function.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL