#[repr(C)]
pub union D3D11_SHADER_RESOURCE_VIEW_DESC1_0 {
pub Buffer: D3D11_BUFFER_SRV,
pub Texture1D: D3D11_TEX1D_SRV,
pub Texture1DArray: D3D11_TEX1D_ARRAY_SRV,
pub Texture2D: D3D11_TEX2D_SRV1,
pub Texture2DArray: D3D11_TEX2D_ARRAY_SRV1,
pub Texture2DMS: D3D11_TEX2DMS_SRV,
pub Texture2DMSArray: D3D11_TEX2DMS_ARRAY_SRV,
pub Texture3D: D3D11_TEX3D_SRV,
pub TextureCube: D3D11_TEXCUBE_SRV,
pub TextureCubeArray: D3D11_TEXCUBE_ARRAY_SRV,
pub BufferEx: D3D11_BUFFEREX_SRV,
}
Fields§
§Buffer: D3D11_BUFFER_SRV
§Texture1D: D3D11_TEX1D_SRV
§Texture1DArray: D3D11_TEX1D_ARRAY_SRV
§Texture2D: D3D11_TEX2D_SRV1
§Texture2DArray: D3D11_TEX2D_ARRAY_SRV1
§Texture2DMS: D3D11_TEX2DMS_SRV
§Texture2DMSArray: D3D11_TEX2DMS_ARRAY_SRV
§Texture3D: D3D11_TEX3D_SRV
§TextureCube: D3D11_TEXCUBE_SRV
§TextureCubeArray: D3D11_TEXCUBE_ARRAY_SRV
§BufferEx: D3D11_BUFFEREX_SRV
Trait Implementations§
§impl Clone for D3D11_SHADER_RESOURCE_VIEW_DESC1_0
impl Clone for D3D11_SHADER_RESOURCE_VIEW_DESC1_0
§fn clone(&self) -> D3D11_SHADER_RESOURCE_VIEW_DESC1_0
fn clone(&self) -> D3D11_SHADER_RESOURCE_VIEW_DESC1_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 D3D11_SHADER_RESOURCE_VIEW_DESC1_0
Auto Trait Implementations§
impl Freeze for D3D11_SHADER_RESOURCE_VIEW_DESC1_0
impl RefUnwindSafe for D3D11_SHADER_RESOURCE_VIEW_DESC1_0
impl Send for D3D11_SHADER_RESOURCE_VIEW_DESC1_0
impl Sync for D3D11_SHADER_RESOURCE_VIEW_DESC1_0
impl Unpin for D3D11_SHADER_RESOURCE_VIEW_DESC1_0
impl UnwindSafe for D3D11_SHADER_RESOURCE_VIEW_DESC1_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
)