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.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for GlobalShaderParameterType
impl GodotConvert for GlobalShaderParameterType
§impl Hash for GlobalShaderParameterType
impl Hash for GlobalShaderParameterType
§impl IndexEnum for GlobalShaderParameterType
impl IndexEnum for GlobalShaderParameterType
§impl PartialEq for GlobalShaderParameterType
impl PartialEq for GlobalShaderParameterType
§fn eq(&self, other: &GlobalShaderParameterType) -> bool
fn eq(&self, other: &GlobalShaderParameterType) -> bool
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for GlobalShaderParameterType
impl ToGodot for GlobalShaderParameterType
§fn to_godot(&self) -> <GlobalShaderParameterType as GodotConvert>::Via
fn to_godot(&self) -> <GlobalShaderParameterType as GodotConvert>::Via
§fn into_godot(self) -> Self::Via
fn into_godot(self) -> Self::Via
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
impl Copy for GlobalShaderParameterType
impl Eq for GlobalShaderParameterType
impl StructuralPartialEq for GlobalShaderParameterType
Auto Trait Implementations§
impl Freeze for GlobalShaderParameterType
impl RefUnwindSafe for GlobalShaderParameterType
impl Send for GlobalShaderParameterType
impl Sync for GlobalShaderParameterType
impl Unpin for GlobalShaderParameterType
impl UnwindSafe for GlobalShaderParameterType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)