#[repr(transparent)]pub struct StreamOutputDesc<'a>(pub D3D12_STREAM_OUTPUT_DESC, _);
Expand description
Wrapper around D3D12_STREAM_OUTPUT_DESC structure
Tuple Fields§
§0: D3D12_STREAM_OUTPUT_DESC
Implementations§
Source§impl<'a> StreamOutputDesc<'a>
impl<'a> StreamOutputDesc<'a>
pub fn set_so_declarations( &mut self, so_declarations: &'a [SoDeclarationEntry<'_>], ) -> &mut StreamOutputDesc<'a>
pub fn with_so_declarations( self, so_declarations: &'a [SoDeclarationEntry<'_>], ) -> Self
pub fn so_declarations(&self) -> &'a [SoDeclarationEntry<'_>]
pub fn num_entries(&self) -> u32
pub fn set_buffer_strides(&mut self, buffer_strides: &[u32]) -> &mut Self
pub fn with_buffer_strides(self, buffer_strides: &[u32]) -> Self
pub fn buffer_strides(&self) -> &'a [u32]
pub fn num_strides(&self) -> u32
pub fn set_rasterized_stream(&mut self, rasterized_stream: u32) -> &mut Self
pub fn with_rasterized_stream(self, rasterized_stream: u32) -> Self
pub fn rasterized_stream(&self) -> u32
Trait Implementations§
Source§impl<'a> Debug for StreamOutputDesc<'a>
impl<'a> Debug for StreamOutputDesc<'a>
Source§impl<'a> Default for StreamOutputDesc<'a>
impl<'a> Default for StreamOutputDesc<'a>
Source§impl<'a> Hash for StreamOutputDesc<'a>
impl<'a> Hash for StreamOutputDesc<'a>
Source§impl<'a> Ord for StreamOutputDesc<'a>
impl<'a> Ord for StreamOutputDesc<'a>
Source§fn cmp(&self, other: &StreamOutputDesc<'a>) -> Ordering
fn cmp(&self, other: &StreamOutputDesc<'a>) -> 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<'a> PartialEq for StreamOutputDesc<'a>
impl<'a> PartialEq for StreamOutputDesc<'a>
Source§impl<'a> PartialOrd for StreamOutputDesc<'a>
impl<'a> PartialOrd for StreamOutputDesc<'a>
impl<'a> Eq for StreamOutputDesc<'a>
impl<'a> StructuralPartialEq for StreamOutputDesc<'a>
Auto Trait Implementations§
impl<'a> Freeze for StreamOutputDesc<'a>
impl<'a> RefUnwindSafe for StreamOutputDesc<'a>
impl<'a> !Send for StreamOutputDesc<'a>
impl<'a> !Sync for StreamOutputDesc<'a>
impl<'a> Unpin for StreamOutputDesc<'a>
impl<'a> UnwindSafe for StreamOutputDesc<'a>
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