D3D10DDIARG_BUFFER_SHADERRESOURCEVIEW structure (d3d10umddi.h)
The D3D10DDIARG_BUFFER_SHADERRESOURCEVIEW structure describes a buffer that is used to create a shader resource view in a call to the CreateShaderResourceView function.
Syntax
typedef struct D3D10DDIARG_BUFFER_SHADERRESOURCEVIEW {
union {
UINT FirstElement;
[in] UINT ElementOffset;
};
union {
UINT NumElements;
[in] UINT ElementWidth;
};
} D3D10DDIARG_BUFFER_SHADERRESOURCEVIEW;
Members
FirstElement
[in] ElementOffset
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.
NumElements
[in] ElementWidth
The number of elements in the view.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Header | d3d10umddi.h (include D3d10umddi.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for