/ . / _chimera / ShaderVariable
Not instantiable from Python
constants:
- BVec2 = 9
- BVec3 = 10
- BVec4 = 11
- Bool = 8
- CURRENT = 0
- Float = 0
- IVec2 = 5
- IVec3 = 6
- IVec4 = 7
- Int = 4
- MAX = 2
- MIN = 1
- Mat2 = 12
- Mat3 = 13
- Mat4 = 14
- NUM_SUBVALUES = 3
- Sampler1D = 15
- Sampler1DShadow = 19
- Sampler2D = 16
- Sampler2DShadow = 20
- Sampler3D = 17
- SamplerCube = 18
- Unknown = 21
- Vec2 = 1
- Vec3 = 2
- Vec4 = 3
attributes:
- description: str
- location: int
- metatype: str
- name: str
- type: int
Methods
|
|
|
count
|
count ( self )
count() -> int
|
|
hasValue
|
hasValue ( self, v )
hasValue(v: int = CURRENT) -> bool
|
|
value
|
value ( self, v )
value(v: int = CURRENT) -> object
|
|
setValue
|
setValue (
self,
obj,
v,
)
setValue(obj: object, v: int = CURRENT)
|
|
basetype
|
basetype ( self )
basetype() -> int
|
|
|