Union mltg_bindings::Windows::Win32::Graphics::Direct3D11::D3D11_SHADER_RESOURCE_VIEW_DESC1_0[][src]

#[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_SRVTexture1D: D3D11_TEX1D_SRVTexture1DArray: D3D11_TEX1D_ARRAY_SRVTexture2D: D3D11_TEX2D_SRV1Texture2DArray: D3D11_TEX2D_ARRAY_SRV1Texture2DMS: 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

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.