// d3d10umddi.h
typedef struct D3D11DDIARG_BUFFEREX_SHADERRESOURCEVIEW {
union {
[in] UINT FirstElement;
[in] UINT ElementOffset;
};
union {
[in] UINT NumElements;
[in] UINT ElementWidth;
};
[in] UINT Flags;
} D3D11DDIARG_BUFFEREX_SHADERRESOURCEVIEW;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D11DDIARG_BUFFEREX_SHADERRESOURCEVIEW structure describes a buffer that is used to create a shader resource view in a call to the CreateShaderResourceView(D3D11) function.
FirstElement [in]The offset, in bytes, to the first element in the buffer.
ElementOffset [in]The offset, in bytes, to the first element in the buffer.
NumElements [in]The number of elements in the buffer.
ElementWidth [in]The width, in elements, in the buffer.
Flags [in]A valid bitwise OR of flag values that describe the buffer. Currently, the Direct3D runtime supports only the D3D11_DDI_BUFFEREX_SRV_FLAG_RAW (0x00000001) flag. If this flag is set, the buffer is in raw format.
CalcPrivateShaderResourceViewSize(D3D11)
CreateShaderResourceView(D3D11)
D3D11DDIARG_CREATESHADERRESOURCEVIEW