SearchBindSymbolNum

nn::gr::CTR::ShaderLite::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 for 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 you have configured the shader binary with the SetupBinary function.

Revision History

2011/12/16
Initial version.

CONFIDENTIAL