#[repr(u32)]pub enum SpatialMaterialFlags {
Show 18 variants
FlagUnshaded = 0,
FlagUseVertexLighting = 1,
FlagDisableDepthTest = 2,
FlagAlbedoFromVertexColor = 3,
rgbVertexColor = 4,
FlagUsePointSize = 5,
FlagFixedSize = 6,
FlagUv1UseTriplanar = 7,
FlagUv2UseTriplanar = 8,
FlagTriplanarUseWorld = 9,
FlagAoOnUv2 = 10,
FlagEmissionOnUv2 = 11,
FlagUseAlphaScissor = 12,
FlagAlbedoTextureForceSrgb = 13,
FlagDontReceiveShadows = 14,
FlagEnsureCorrectNormals = 15,
FlagDisableAmbientLight = 16,
FlagMax = 17,
}
Variants§
FlagUnshaded = 0
FlagUseVertexLighting = 1
FlagDisableDepthTest = 2
FlagAlbedoFromVertexColor = 3
rgbVertexColor = 4
FlagUsePointSize = 5
FlagFixedSize = 6
FlagUv1UseTriplanar = 7
FlagUv2UseTriplanar = 8
FlagTriplanarUseWorld = 9
FlagAoOnUv2 = 10
FlagEmissionOnUv2 = 11
FlagUseAlphaScissor = 12
FlagAlbedoTextureForceSrgb = 13
FlagDontReceiveShadows = 14
FlagEnsureCorrectNormals = 15
FlagDisableAmbientLight = 16
FlagMax = 17
Trait Implementations§
Source§impl Clone for SpatialMaterialFlags
impl Clone for SpatialMaterialFlags
Source§fn clone(&self) -> SpatialMaterialFlags
fn clone(&self) -> SpatialMaterialFlags
Returns a duplicate 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 moreSource§impl Debug for SpatialMaterialFlags
impl Debug for SpatialMaterialFlags
Source§impl Hash for SpatialMaterialFlags
impl Hash for SpatialMaterialFlags
Source§impl PartialEq for SpatialMaterialFlags
impl PartialEq for SpatialMaterialFlags
impl Copy for SpatialMaterialFlags
impl Eq for SpatialMaterialFlags
impl StructuralPartialEq for SpatialMaterialFlags
Auto Trait Implementations§
impl Freeze for SpatialMaterialFlags
impl RefUnwindSafe for SpatialMaterialFlags
impl Send for SpatialMaterialFlags
impl Sync for SpatialMaterialFlags
impl Unpin for SpatialMaterialFlags
impl UnwindSafe for SpatialMaterialFlags
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