pub struct IndexBufferView(/* private fields */);
Expand description
Wrapper around D3D12_INDEX_BUFFER_VIEW structure
Implementations§
Source§impl IndexBufferView
impl IndexBufferView
pub fn set_buffer_location( &mut self, buffer_location: GpuVirtualAddress, ) -> &mut Self
pub fn with_buffer_location(self, buffer_location: GpuVirtualAddress) -> Self
pub fn buffer_location(&self) -> GpuVirtualAddress
pub fn set_size_in_bytes(&mut self, size_in_bytes: ByteCount) -> &mut Self
pub fn with_size_in_bytes(self, size_in_bytes: ByteCount) -> Self
pub fn size_in_bytes(&self) -> ByteCount
pub fn set_format(&mut self, format: Format) -> &mut Self
pub fn with_format(self, format: Format) -> Self
pub fn format(&self) -> Format
Trait Implementations§
Source§impl Clone for IndexBufferView
impl Clone for IndexBufferView
Source§fn clone(&self) -> IndexBufferView
fn clone(&self) -> IndexBufferView
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 IndexBufferView
impl Debug for IndexBufferView
Source§impl Default for IndexBufferView
impl Default for IndexBufferView
Source§fn default() -> IndexBufferView
fn default() -> IndexBufferView
Returns the “default value” for a type. Read more
Source§impl Hash for IndexBufferView
impl Hash for IndexBufferView
Source§impl Ord for IndexBufferView
impl Ord for IndexBufferView
Source§fn cmp(&self, other: &IndexBufferView) -> Ordering
fn cmp(&self, other: &IndexBufferView) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IndexBufferView
impl PartialEq for IndexBufferView
Source§impl PartialOrd for IndexBufferView
impl PartialOrd for IndexBufferView
impl Copy for IndexBufferView
impl Eq for IndexBufferView
impl StructuralPartialEq for IndexBufferView
Auto Trait Implementations§
impl Freeze for IndexBufferView
impl RefUnwindSafe for IndexBufferView
impl Send for IndexBufferView
impl Sync for IndexBufferView
impl Unpin for IndexBufferView
impl UnwindSafe for IndexBufferView
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