Struct godot::engine::rendering_device::UniformType
pub struct UniformType { /* private fields */ }
Implementations§
§impl UniformType
impl UniformType
pub const SAMPLER: UniformType = _
pub const SAMPLER: UniformType = _
Godot enumerator name: UNIFORM_TYPE_SAMPLER
pub const SAMPLER_WITH_TEXTURE: UniformType = _
pub const SAMPLER_WITH_TEXTURE: UniformType = _
Godot enumerator name: UNIFORM_TYPE_SAMPLER_WITH_TEXTURE
pub const TEXTURE: UniformType = _
pub const TEXTURE: UniformType = _
Godot enumerator name: UNIFORM_TYPE_TEXTURE
pub const IMAGE: UniformType = _
pub const IMAGE: UniformType = _
Godot enumerator name: UNIFORM_TYPE_IMAGE
pub const TEXTURE_BUFFER: UniformType = _
pub const TEXTURE_BUFFER: UniformType = _
Godot enumerator name: UNIFORM_TYPE_TEXTURE_BUFFER
pub const SAMPLER_WITH_TEXTURE_BUFFER: UniformType = _
pub const SAMPLER_WITH_TEXTURE_BUFFER: UniformType = _
Godot enumerator name: UNIFORM_TYPE_SAMPLER_WITH_TEXTURE_BUFFER
pub const IMAGE_BUFFER: UniformType = _
pub const IMAGE_BUFFER: UniformType = _
Godot enumerator name: UNIFORM_TYPE_IMAGE_BUFFER
pub const UNIFORM_BUFFER: UniformType = _
pub const UNIFORM_BUFFER: UniformType = _
Godot enumerator name: UNIFORM_TYPE_UNIFORM_BUFFER
pub const STORAGE_BUFFER: UniformType = _
pub const STORAGE_BUFFER: UniformType = _
Godot enumerator name: UNIFORM_TYPE_STORAGE_BUFFER
pub const INPUT_ATTACHMENT: UniformType = _
pub const INPUT_ATTACHMENT: UniformType = _
Godot enumerator name: UNIFORM_TYPE_INPUT_ATTACHMENT
pub const MAX: UniformType = _
pub const MAX: UniformType = _
Godot enumerator name: UNIFORM_TYPE_MAX
Trait Implementations§
§impl Clone for UniformType
impl Clone for UniformType
§fn clone(&self) -> UniformType
fn clone(&self) -> UniformType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for UniformType
impl Debug for UniformType
§impl EngineEnum for UniformType
impl EngineEnum for UniformType
§impl FromGodot for UniformType
impl FromGodot for UniformType
§fn try_from_godot(
via: <UniformType as GodotConvert>::Via
) -> Result<UniformType, ConvertError>
fn try_from_godot( via: <UniformType as GodotConvert>::Via ) -> Result<UniformType, ConvertError>
Performs the conversion.
§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Performs the conversion. Read more
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Performs the conversion from a
Variant
.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for UniformType
impl GodotConvert for UniformType
§impl Hash for UniformType
impl Hash for UniformType
§impl IndexEnum for UniformType
impl IndexEnum for UniformType
§impl PartialEq for UniformType
impl PartialEq for UniformType
§fn eq(&self, other: &UniformType) -> bool
fn eq(&self, other: &UniformType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for UniformType
impl ToGodot for UniformType
§fn to_godot(&self) -> <UniformType as GodotConvert>::Via
fn to_godot(&self) -> <UniformType as GodotConvert>::Via
Converts this type to the Godot type by reference, usually by cloning.
§fn into_godot(self) -> Self::Via
fn into_godot(self) -> Self::Via
Converts this type to the Godot type. Read more
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
impl Copy for UniformType
impl Eq for UniformType
impl StructuralPartialEq for UniformType
Auto Trait Implementations§
impl Freeze for UniformType
impl RefUnwindSafe for UniformType
impl Send for UniformType
impl Sync for UniformType
impl Unpin for UniformType
impl UnwindSafe for UniformType
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
Mutably borrows from an owned value. Read more