ShaderType¶
-
class ShaderType¶
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 ShaderType.Array¶
Bases:
Bases:
ShaderTypeAn array type.
- property element_type ShaderType¶
- static get_class_type()¶
- class ShaderType.Image¶
Bases:
Bases:
ShaderType.ResourceImage type.
- property access Access¶
- static get_class_type()¶
- property texture_type TextureType¶
- class ShaderType.Matrix¶
Bases:
Bases:
ShaderTypeMatrix consisting of multiple column vectors.
- static get_class_type()¶
- class ShaderType.Resource¶
Bases:
Bases:
ShaderTypeBase class for all resources.
- class ShaderType.SampledImage¶
Bases:
Bases:
ShaderType.ResourceSampled image type.
- static get_class_type()¶
- property texture_type TextureType¶
- class ShaderType.Sampler¶
Bases:
Bases:
ShaderType.ResourceSampler state. Not exposed; Python users can check for ShaderType.SAMPLER instead.
- class ShaderType.Scalar¶
Bases:
Bases:
ShaderTypeA numeric scalar type, like int or float.
- static get_class_type()¶
- class ShaderType.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 ShaderType.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 ShaderType.Vector¶
Bases:
Bases:
ShaderTypeMultiple scalar types.
- static get_class_type()¶
- class ShaderType.Void¶
Bases:
Bases:
ShaderTypeThe void type, invalid for most uses. Not exposed; Python users can check for ShaderType.VOID instead.
- static ShaderType.get_class_type()¶
- ShaderType.output()¶
-
enum Access¶