pub struct UnorderedAccessViewDesc(/* private fields */);
Expand description
Wrapper around D3D12_UNORDERED_ACCESS_VIEW_DESC structure
Implementations§
Source§impl UnorderedAccessViewDesc
impl UnorderedAccessViewDesc
pub fn set_format(&mut self, format: Format) -> &mut Self
pub fn with_format(self, format: Format) -> Self
pub fn format(&self) -> Format
pub fn view_dimension(&self) -> UavDimension
pub fn new_buffer(self, buffer: &BufferUav) -> Self
pub fn buffer(&self) -> Option<BufferUav>
pub fn new_texture_1d(self, texture_1d: &Tex1DUav) -> Self
pub fn texture_1d(&self) -> Option<Tex1DUav>
pub fn new_texture_1d_array(self, texture_1d_array: &Tex1DArrayUav) -> Self
pub fn texture_1d_array(&self) -> Option<Tex1DArrayUav>
pub fn new_texture_2d(self, texture_2d: &Tex2DUav) -> Self
pub fn texture_2d(&self) -> Option<Tex2DUav>
pub fn new_texture_2d_array(self, texture_2d_array: &Tex2DArrayUav) -> Self
pub fn texture_2d_array(&self) -> Option<Tex2DArrayUav>
pub fn new_texture_3d(self, texture_3d: &Tex3DUav) -> Self
pub fn texture_3d(&self) -> Option<Tex3DUav>
Trait Implementations§
Source§impl Clone for UnorderedAccessViewDesc
impl Clone for UnorderedAccessViewDesc
Source§fn clone(&self) -> UnorderedAccessViewDesc
fn clone(&self) -> UnorderedAccessViewDesc
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 UnorderedAccessViewDesc
impl Debug for UnorderedAccessViewDesc
Source§impl Default for UnorderedAccessViewDesc
impl Default for UnorderedAccessViewDesc
Source§fn default() -> UnorderedAccessViewDesc
fn default() -> UnorderedAccessViewDesc
Returns the “default value” for a type. Read more
impl Copy for UnorderedAccessViewDesc
Auto Trait Implementations§
impl Freeze for UnorderedAccessViewDesc
impl RefUnwindSafe for UnorderedAccessViewDesc
impl Send for UnorderedAccessViewDesc
impl Sync for UnorderedAccessViewDesc
impl Unpin for UnorderedAccessViewDesc
impl UnwindSafe for UnorderedAccessViewDesc
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