Struct GlobalShaderParameterType
pub struct GlobalShaderParameterType { /* private fields */ }
Implementations§
§impl GlobalShaderParameterType
impl GlobalShaderParameterType
pub const BOOL: GlobalShaderParameterType = _
pub const BOOL: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_BOOL
pub const BVEC2: GlobalShaderParameterType = _
pub const BVEC2: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_BVEC2
pub const BVEC3: GlobalShaderParameterType = _
pub const BVEC3: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_BVEC3
pub const BVEC4: GlobalShaderParameterType = _
pub const BVEC4: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_BVEC4
pub const INT: GlobalShaderParameterType = _
pub const INT: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_INT
pub const IVEC2: GlobalShaderParameterType = _
pub const IVEC2: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_IVEC2
pub const IVEC3: GlobalShaderParameterType = _
pub const IVEC3: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_IVEC3
pub const IVEC4: GlobalShaderParameterType = _
pub const IVEC4: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_IVEC4
pub const RECT2I: GlobalShaderParameterType = _
pub const RECT2I: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_RECT2I
pub const UINT: GlobalShaderParameterType = _
pub const UINT: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_UINT
pub const UVEC2: GlobalShaderParameterType = _
pub const UVEC2: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_UVEC2
pub const UVEC3: GlobalShaderParameterType = _
pub const UVEC3: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_UVEC3
pub const UVEC4: GlobalShaderParameterType = _
pub const UVEC4: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_UVEC4
pub const FLOAT: GlobalShaderParameterType = _
pub const FLOAT: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_FLOAT
pub const VEC2: GlobalShaderParameterType = _
pub const VEC2: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_VEC2
pub const VEC3: GlobalShaderParameterType = _
pub const VEC3: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_VEC3
pub const VEC4: GlobalShaderParameterType = _
pub const VEC4: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_VEC4
pub const COLOR: GlobalShaderParameterType = _
pub const COLOR: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_COLOR
pub const RECT2: GlobalShaderParameterType = _
pub const RECT2: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_RECT2
pub const MAT2: GlobalShaderParameterType = _
pub const MAT2: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_MAT2
pub const MAT3: GlobalShaderParameterType = _
pub const MAT3: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_MAT3
pub const MAT4: GlobalShaderParameterType = _
pub const MAT4: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_MAT4
pub const TRANSFORM_2D: GlobalShaderParameterType = _
pub const TRANSFORM_2D: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_TRANSFORM_2D
pub const TRANSFORM: GlobalShaderParameterType = _
pub const TRANSFORM: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_TRANSFORM
pub const SAMPLER2D: GlobalShaderParameterType = _
pub const SAMPLER2D: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_SAMPLER2D
pub const SAMPLER2DARRAY: GlobalShaderParameterType = _
pub const SAMPLER2DARRAY: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_SAMPLER2DARRAY
pub const SAMPLER3D: GlobalShaderParameterType = _
pub const SAMPLER3D: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_SAMPLER3D
pub const SAMPLERCUBE: GlobalShaderParameterType = _
pub const SAMPLERCUBE: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_SAMPLERCUBE
pub const MAX: GlobalShaderParameterType = _
pub const MAX: GlobalShaderParameterType = _
Godot enumerator name: GLOBAL_VAR_TYPE_MAX
Trait Implementations§
§impl Clone for GlobalShaderParameterType
impl Clone for GlobalShaderParameterType
§fn clone(&self) -> GlobalShaderParameterType
fn clone(&self) -> GlobalShaderParameterType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for GlobalShaderParameterType
impl Debug for GlobalShaderParameterType
§impl EngineEnum for GlobalShaderParameterType
impl EngineEnum for GlobalShaderParameterType
§impl FromGodot for GlobalShaderParameterType
impl FromGodot for GlobalShaderParameterType
§fn try_from_godot(
via: <GlobalShaderParameterType as GodotConvert>::Via,
) -> Result<GlobalShaderParameterType, ConvertError>
fn try_from_godot( via: <GlobalShaderParameterType as GodotConvert>::Via, ) -> Result<GlobalShaderParameterType, ConvertError>
Err
on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Variant
, returning Err
on failure.