// d3d10umddi.h
typedef struct D3D10DDIARG_BUFFER_SHADERRESOURCEVIEW {
union {
UINT FirstElement;
[in] UINT ElementOffset;
};
union {
UINT NumElements;
[in] UINT ElementWidth;
};
} D3D10DDIARG_BUFFER_SHADERRESOURCEVIEW;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D10DDIARG_BUFFER_SHADERRESOURCEVIEW structure describes a buffer that is used to create a shader resource view in a call to the CreateShaderResourceView function.
FirstElementElementOffset [in]The offset (that is, the number of elements) between the beginning of the buffer and the first element that is to be used in the view, starting at 0.
NumElementsElementWidth [in]The number of elements in the view.
CalcPrivateShaderResourceViewSize
D3D10DDIARG_CREATESHADERRESOURCEVIEW