Struct godot::classes::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>
Converts the Godot representation to this type, returning
Err
on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Converts the Godot representation to this type. 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
, returning Err
on failure.§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
§impl ToGodot for UniformType
impl ToGodot for UniformType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)