#[repr(C)]
pub union D3D11_SHADER_RESOURCE_VIEW_DESC_0 {
    pub Buffer: D3D11_BUFFER_SRV,
    pub Texture1D: D3D11_TEX1D_SRV,
    pub Texture1DArray: D3D11_TEX1D_ARRAY_SRV,
    pub Texture2D: D3D11_TEX2D_SRV,
    pub Texture2DArray: D3D11_TEX2D_ARRAY_SRV,
    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,
}
Expand description

Required features: "Win32_Graphics_Direct3D11", "Win32_Graphics_Direct3D", "Win32_Graphics_Dxgi_Common"

Fields

Buffer: D3D11_BUFFER_SRVTexture1D: D3D11_TEX1D_SRVTexture1DArray: D3D11_TEX1D_ARRAY_SRVTexture2D: D3D11_TEX2D_SRVTexture2DArray: D3D11_TEX2D_ARRAY_SRVTexture2DMS: D3D11_TEX2DMS_SRVTexture2DMSArray: D3D11_TEX2DMS_ARRAY_SRVTexture3D: D3D11_TEX3D_SRVTextureCube: D3D11_TEXCUBE_SRVTextureCubeArray: D3D11_TEXCUBE_ARRAY_SRVBufferEx: D3D11_BUFFEREX_SRV

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.