ShaderModule
from panda3d.core import ShaderModule
- class ShaderModule
Bases:
CopyOnWriteObject,ShaderEnumsRepresents a single shader module in some intermediate representation for passing to the driver. This could contain compiled bytecode, or in some cases, preprocessed source code to be given directly to the driver.
This class inherits from CopyOnWriteObject so that modules can safely be shared between multiple Shader objects, with a unique copy automatically being created if the Shader needs to manipulate the module.
Inheritance diagram
- class SpecializationConstant
Bases:
DTOOL_SUPER_BASEDefines a specialization constant.
- __init__(*args, **kwargs)
- id
- name
- type
- class Variable
Bases:
DTOOL_SUPER_BASEDefines an interface variable.
- __init__(*args, **kwargs)
- id
- location
- name
- type
- __init__(*args, **kwargs)
- code
- getClassType()
C++ Interface: get_class_type()
- get_class_type()
C++ Interface: get_class_type()
- inputs
- outputs
- parameters
- spec_constants
- stage
- upcastToCopyOnWriteObject()
C++ Interface: upcast_to_CopyOnWriteObject(const ShaderModule self)
upcast from ShaderModule to CopyOnWriteObject
- upcastToShaderEnums()
C++ Interface: upcast_to_ShaderEnums(const ShaderModule self)
upcast from ShaderModule to ShaderEnums
- upcast_to_CopyOnWriteObject()
C++ Interface: upcast_to_CopyOnWriteObject(const ShaderModule self)
upcast from ShaderModule to CopyOnWriteObject
- upcast_to_ShaderEnums()
C++ Interface: upcast_to_ShaderEnums(const ShaderModule self)
upcast from ShaderModule to ShaderEnums
- used_capabilities
