SearchBindSymbol

nn::gr::CTR::ShaderLite::SearchBindSymbol Member Function

Syntax

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

Parameters

Name Description
out symbol The symbol searched for by symbol name.
in name The symbol name to search for.

Return Values

Returns true if the search target is found.

Description

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 you have configured the shader binary with the SetupBinary function.


CONFIDENTIAL