#[repr(C)]
pub union D3D10_SHADER_RESOURCE_VIEW_DESC1_0 {
    pub Buffer: D3D10_BUFFER_SRV,
    pub Texture1D: D3D10_TEX1D_SRV,
    pub Texture1DArray: D3D10_TEX1D_ARRAY_SRV,
    pub Texture2D: D3D10_TEX2D_SRV,
    pub Texture2DArray: D3D10_TEX2D_ARRAY_SRV,
    pub Texture2DMS: D3D10_TEX2DMS_SRV,
    pub Texture2DMSArray: D3D10_TEX2DMS_ARRAY_SRV,
    pub Texture3D: D3D10_TEX3D_SRV,
    pub TextureCube: D3D10_TEXCUBE_SRV,
    pub TextureCubeArray: D3D10_TEXCUBE_ARRAY_SRV1,
}
Expand description

Required features: "Win32_Graphics_Direct3D10", "Win32_Graphics_Direct3D", "Win32_Graphics_Dxgi_Common"

Fields

Buffer: D3D10_BUFFER_SRVTexture1D: D3D10_TEX1D_SRVTexture1DArray: D3D10_TEX1D_ARRAY_SRVTexture2D: D3D10_TEX2D_SRVTexture2DArray: D3D10_TEX2D_ARRAY_SRVTexture2DMS: D3D10_TEX2DMS_SRVTexture2DMSArray: D3D10_TEX2DMS_ARRAY_SRVTexture3D: D3D10_TEX3D_SRVTextureCube: D3D10_TEXCUBE_SRVTextureCubeArray: D3D10_TEXCUBE_ARRAY_SRV1

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.