#[repr(u32)]pub enum BspTexFlags {
Normal = 0,
Special = 1,
Missing = 2,
}Expand description
Quake 1-style texture flags. Quake 2 ditches this entirely, GoldSrc
mostly handles this on a per-brush basis using rendermode and
related entity keys.
Variants§
Normal = 0
Normal lightmapped surface.
Special = 1
No lighting or 256 subdivision.
Missing = 2
Texture cannot be found.
Trait Implementations§
Source§impl BspValue for BspTexFlags
impl BspValue for BspTexFlags
Source§fn bsp_parse(reader: &mut BspByteReader<'_>) -> BspResult<Self>
fn bsp_parse(reader: &mut BspByteReader<'_>) -> BspResult<Self>
Parse this value, advancing the byte reader.
Source§fn bsp_struct_size(ctx: &BspParseContext) -> usize
fn bsp_struct_size(ctx: &BspParseContext) -> usize
How big this value is in the BSP file in bytes. If it is a variable size, return
unimplemented!(), as calling this on variable-sized values would be a bug.Source§impl Clone for BspTexFlags
impl Clone for BspTexFlags
Source§fn clone(&self) -> BspTexFlags
fn clone(&self) -> BspTexFlags
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 BspTexFlags
impl Debug for BspTexFlags
Source§impl Default for BspTexFlags
impl Default for BspTexFlags
Source§fn default() -> BspTexFlags
fn default() -> BspTexFlags
Returns the “default value” for a type. Read more
Source§impl From<BspTexFlags> for BspTexInfoFlags
impl From<BspTexFlags> for BspTexInfoFlags
Source§fn from(value: BspTexFlags) -> Self
fn from(value: BspTexFlags) -> Self
Converts to this type from the input type.
Source§impl Hash for BspTexFlags
impl Hash for BspTexFlags
Source§impl PartialEq for BspTexFlags
impl PartialEq for BspTexFlags
impl Copy for BspTexFlags
impl Eq for BspTexFlags
impl StructuralPartialEq for BspTexFlags
Auto Trait Implementations§
impl Freeze for BspTexFlags
impl RefUnwindSafe for BspTexFlags
impl Send for BspTexFlags
impl Sync for BspTexFlags
impl Unpin for BspTexFlags
impl UnwindSafe for BspTexFlags
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