ShaderType¶
from acron.core import ShaderType
- class ShaderType¶
Bases:
Bases:
TypedWritableThis represents a single type as defined in a shader. There is only ever a single instance in existence for any particular type.
Inheritance diagram
digraph inheritance5c1eb2f1eb { 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=""]; "ShaderType" [URL="acron.core.ShaderType.html#acron.core.ShaderType",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritable" -> "ShaderType" [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=""]; "TypedWritable" [URL="acron.core.TypedWritable.html#acron.core.TypedWritable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedWritable" [arrowsize=0.75,style=""]; }-
enum Access¶
-
enumerator NONE = 0¶
-
enumerator READ_ONLY = 1¶
-
enumerator WRITE_ONLY = 2¶
-
enumerator READ_WRITE = 3¶
-
enumerator NONE = 0¶
- class Array¶
Bases:
Bases:
ShaderTypeAn array type.
- property element_type ShaderType¶
- static get_class_type()¶
- property BOOL Scalar¶
//static const ShaderType *const VOID;
getter for static ShaderType::Scalar const *const ShaderType::BOOL;
- class Image¶
Bases:
Bases:
ShaderType.ResourceImage type.
- property access Access¶
- static get_class_type()¶
- property texture_type TextureType¶
- class Matrix¶
Bases:
Bases:
ShaderTypeMatrix consisting of multiple column vectors.
- static get_class_type()¶
- class Resource¶
Bases:
Bases:
ShaderTypeBase class for all resources.
- property SAMPLER ShaderType¶
getter for static ShaderType const *const ShaderType::SAMPLER;
- class SampledImage¶
Bases:
Bases:
ShaderType.ResourceSampled image type.
- static get_class_type()¶
- property texture_type TextureType¶
- class Sampler¶
Bases:
Bases:
ShaderType.ResourceSampler state. Not exposed; Python users can check for ShaderType.SAMPLER instead.
- class Scalar¶
Bases:
Bases:
ShaderTypeA numeric scalar type, like int or float.
- static get_class_type()¶
- class StorageBuffer¶
Bases:
Bases:
ShaderType.ResourceOpaque storage buffer (SSBO) storing a given type, which is usually a struct or an array.
- property access Access¶
- property contained_type ShaderType¶
- static get_class_type()¶
- class Struct¶
Bases:
Bases:
ShaderTypeA structure type, with named members.
- class Member¶
Bases:
- property type ShaderType¶
getter/setter for ShaderType const *ShaderType::Struct::Member::type;
- static get_class_type()¶
- class Vector¶
Bases:
Bases:
ShaderTypeMultiple scalar types.
- static get_class_type()¶
- class Void¶
Bases:
Bases:
ShaderTypeThe void type, invalid for most uses. Not exposed; Python users can check for ShaderType.VOID instead.
- static get_class_type()¶
- output()¶
-
enum Access¶