ShaderCompiler

from panda3d.core import ShaderCompiler
class ShaderCompiler

Bases: TypedObject, ShaderEnums

This is the base class for objects to compile various types of shader code.

Inheritance diagram

Inheritance diagram of ShaderCompiler

__init__(*args, **kwargs)
compileNow()

C++ Interface: compile_now(ShaderCompiler self, Stage stage, const Filename path) compile_now(ShaderCompiler self, Stage stage, istream in, const Filename fullpath, const CompilerOptions options, ostream output_log, BamCacheRecord record) compile_now(ShaderCompiler self, Stage stage, const Filename path, const CompilerOptions options, ostream output_log, BamCacheRecord record)

/**
  • Loads and compiles the code from the given shader file, producing a

  • ShaderModule on success.

*/

compile_now()

C++ Interface: compile_now(ShaderCompiler self, Stage stage, const Filename path) compile_now(ShaderCompiler self, Stage stage, istream in, const Filename fullpath, const CompilerOptions options, ostream output_log, BamCacheRecord record) compile_now(ShaderCompiler self, Stage stage, const Filename path, const CompilerOptions options, ostream output_log, BamCacheRecord record)

/**
  • Loads and compiles the code from the given shader file, producing a

  • ShaderModule on success.

*/

getClassType()

C++ Interface: get_class_type()

get_class_type()

C++ Interface: get_class_type()

name
upcastToShaderEnums()

C++ Interface: upcast_to_ShaderEnums(const ShaderCompiler self)

upcast from ShaderCompiler to ShaderEnums

upcastToTypedObject()

C++ Interface: upcast_to_TypedObject(const ShaderCompiler self)

upcast from ShaderCompiler to TypedObject

upcast_to_ShaderEnums()

C++ Interface: upcast_to_ShaderEnums(const ShaderCompiler self)

upcast from ShaderCompiler to ShaderEnums

upcast_to_TypedObject()

C++ Interface: upcast_to_TypedObject(const ShaderCompiler self)

upcast from ShaderCompiler to TypedObject