#[repr(C)]
pub union D3D12_SHADER_RESOURCE_VIEW_DESC_0 {
pub Buffer: D3D12_BUFFER_SRV,
pub Texture1D: D3D12_TEX1D_SRV,
pub Texture1DArray: D3D12_TEX1D_ARRAY_SRV,
pub Texture2D: D3D12_TEX2D_SRV,
pub Texture2DArray: D3D12_TEX2D_ARRAY_SRV,
pub Texture2DMS: D3D12_TEX2DMS_SRV,
pub Texture2DMSArray: D3D12_TEX2DMS_ARRAY_SRV,
pub Texture3D: D3D12_TEX3D_SRV,
pub TextureCube: D3D12_TEXCUBE_SRV,
pub TextureCubeArray: D3D12_TEXCUBE_ARRAY_SRV,
pub RaytracingAccelerationStructure: D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV,
}
Fields§
§Buffer: D3D12_BUFFER_SRV
§Texture1D: D3D12_TEX1D_SRV
§Texture1DArray: D3D12_TEX1D_ARRAY_SRV
§Texture2D: D3D12_TEX2D_SRV
§Texture2DArray: D3D12_TEX2D_ARRAY_SRV
§Texture2DMS: D3D12_TEX2DMS_SRV
§Texture2DMSArray: D3D12_TEX2DMS_ARRAY_SRV
§Texture3D: D3D12_TEX3D_SRV
§TextureCube: D3D12_TEXCUBE_SRV
§TextureCubeArray: D3D12_TEXCUBE_ARRAY_SRV
§RaytracingAccelerationStructure: D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV
Trait Implementations§
§impl Clone for D3D12_SHADER_RESOURCE_VIEW_DESC_0
impl Clone for D3D12_SHADER_RESOURCE_VIEW_DESC_0
§fn clone(&self) -> D3D12_SHADER_RESOURCE_VIEW_DESC_0
fn clone(&self) -> D3D12_SHADER_RESOURCE_VIEW_DESC_0
Returns a copy 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 moreimpl Copy for D3D12_SHADER_RESOURCE_VIEW_DESC_0
Auto Trait Implementations§
impl Freeze for D3D12_SHADER_RESOURCE_VIEW_DESC_0
impl RefUnwindSafe for D3D12_SHADER_RESOURCE_VIEW_DESC_0
impl Send for D3D12_SHADER_RESOURCE_VIEW_DESC_0
impl Sync for D3D12_SHADER_RESOURCE_VIEW_DESC_0
impl Unpin for D3D12_SHADER_RESOURCE_VIEW_DESC_0
impl UnwindSafe for D3D12_SHADER_RESOURCE_VIEW_DESC_0
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)