ShaderCompilerRegistry¶
-
class ShaderCompilerRegistry¶
This class maintains the set of all known
ShaderCompilersin the universe.Inheritance diagram
digraph inheritancec5c5140189 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "ShaderCompilerRegistry" [URL="acron.core.ShaderCompilerRegistry.html#acron.core.ShaderCompilerRegistry",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ShaderCompilerRegistry" [arrowsize=0.75,style=""]; }- ShaderCompilerRegistry.__init__()¶
- ShaderCompilerRegistry.get_compiler()¶
Returns the nth compiler registered.
- ShaderCompilerRegistry.get_compiler_for_language()¶
Determines the compiler of the shader based on the indicated language (without a leading dot). Returns NULL if the language matches no known shader compilers.
- static ShaderCompilerRegistry.get_global_ptr()¶
Returns a pointer to the global
ShaderCompilerRegistryobject.
- ShaderCompilerRegistry.get_num_compilers()¶
Returns the total number of compilers registered.
- ShaderCompilerRegistry.write()¶
Writes a list of supported shader compilers to the indicated output stream, one per line.