nn::gr::CTR::Shader::SearchBindSymbol Member Function

Syntax

bool SearchBindSymbol(
     BindSymbol * symbol,
     const char * name
) const;

bool SearchBindSymbol(
     BindSymbol * symbol,
     const u8 symbol_index
) const;

List of Overloaded Member Functions

SearchBindSymbol ( BindSymbol *, const char * ) Converts from symbol names to symbol information. Symbol type information and bound register numbers can be obtained by specifying the symbol name set by pragma_bind_symbol() in the shader code as an argument. Call this function after setting the shader binary using the SetupBinary function.
SearchBindSymbol ( BindSymbol *, const u8 ) Converts from an index (ranging from 0 to one less than the number of symbols) to symbol information for the symbol of the specified type. Indices of the type 0, 1, ... [number of symbols -1] are assigned in the order set by the pragma bind_symbol() function in shader code. You can search for the specified index and obtain the symbol information that was found. Call this function after setting the shader binary using the SetupBinary function.

Description of SearchBindSymbol ( BindSymbol *, const char * )

Converts from symbol names to symbol information. Symbol type information and bound register numbers can be obtained by specifying the symbol name set by pragma_bind_symbol() in the shader code as an argument. Call this function after setting the shader binary using the SetupBinary function.

Description of SearchBindSymbol ( BindSymbol *, const u8 )

Converts from an index (ranging from 0 to one less than the number of symbols) to symbol information for the symbol of the specified type. Indices of the type 0, 1, ... [number of symbols -1] are assigned in the order set by the pragma bind_symbol() function in shader code. You can search for the specified index and obtain the symbol information that was found. Call this function after setting the shader binary using the SetupBinary function.


CONFIDENTIAL