#[repr(i32)]pub enum IndexBufferStripCutValue {
Disabled = 0,
_0xFFFF = 1,
_0xFFFFFFFF = 2,
}Expand description
When using triangle strip primitive topology, vertex positions are interpreted as vertices of a continuous triangle “strip”. There is a special index value that represents the desire to have a discontinuity in the strip, the cut index value. This enum lists the supported cut values.
For more information: D3D12_INDEX_BUFFER_STRIP_CUT_VALUE enumeration
Variants§
Disabled = 0
Indicates that there is no cut value.
_0xFFFF = 1
Indicates that 0xFFFF should be used as the cut value.
_0xFFFFFFFF = 2
Indicates that 0xFFFFFFFF should be used as the cut value.
Implementations§
Trait Implementations§
Source§impl Clone for IndexBufferStripCutValue
impl Clone for IndexBufferStripCutValue
Source§fn clone(&self) -> IndexBufferStripCutValue
fn clone(&self) -> IndexBufferStripCutValue
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 IndexBufferStripCutValue
impl Debug for IndexBufferStripCutValue
Source§impl Default for IndexBufferStripCutValue
impl Default for IndexBufferStripCutValue
Source§fn default() -> IndexBufferStripCutValue
fn default() -> IndexBufferStripCutValue
Returns the “default value” for a type. Read more
Source§impl From<D3D12_INDEX_BUFFER_STRIP_CUT_VALUE> for IndexBufferStripCutValue
impl From<D3D12_INDEX_BUFFER_STRIP_CUT_VALUE> for IndexBufferStripCutValue
Source§impl Hash for IndexBufferStripCutValue
impl Hash for IndexBufferStripCutValue
Source§impl PartialEq for IndexBufferStripCutValue
impl PartialEq for IndexBufferStripCutValue
impl Copy for IndexBufferStripCutValue
impl Eq for IndexBufferStripCutValue
impl StructuralPartialEq for IndexBufferStripCutValue
Auto Trait Implementations§
impl Freeze for IndexBufferStripCutValue
impl RefUnwindSafe for IndexBufferStripCutValue
impl Send for IndexBufferStripCutValue
impl Sync for IndexBufferStripCutValue
impl Unpin for IndexBufferStripCutValue
impl UnwindSafe for IndexBufferStripCutValue
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