ShaderCompiler¶
-
class ShaderCompiler¶
Bases:
TypedObject,ShaderEnumsThis is the base class for objects to compile various types of shader code.
Inheritance diagram
digraph inheritance44772c5e28 { 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=""]; "ShaderCompiler" [URL="acron.core.ShaderCompiler.html#acron.core.ShaderCompiler",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "ShaderCompiler" [arrowsize=0.75,style=""]; "ShaderEnums" -> "ShaderCompiler" [arrowsize=0.75,style=""]; "ShaderEnums" [URL="acron.core.ShaderEnums.html#acron.core.ShaderEnums",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" -> "ShaderEnums" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",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" -> "TypedObject" [arrowsize=0.75,style=""]; }- ShaderCompiler.compile_now()¶
Loads and compiles the code from the given shader file, producing a
ShaderModuleon success.
- static ShaderCompiler.get_class_type()¶