Updates a descriptor, allowing for rapid incremental modifications without the need for full recomposition.
D3D11X_DESCRIPTOR_BUFFER_VIEW* D3D11XUpdateDescriptor(
D3D11X_UPDATE_VIEW UpdateType,
D3D11X_DESCRIPTOR_BUFFER_VIEW *pDescriptor,
UINT64 AddressAndStride,
UINT32 NumElements,
UINT32 MemoryType
)
UpdateType
Type: D3D11X_UPDATE_VIEW
This is a compile-time constant, to avoid a performance hit and bloat.
pDescriptor
Type: D3D11X_DESCRIPTOR_BUFFER_VIEW *
[in] The descriptor buffer view, as a pointer to a D3D11X_DESCRIPTOR_BUFFER_VIEW structure.
AddressAndStride
Type: UINT64
The address and stride.
NumElements
Type: UINT32
The number of elements.
MemoryType
Type: UINT32
The type of memory. Reserved; use zero.
Type: D3D11X_DESCRIPTOR_BUFFER_VIEW *
The updated descriptor buffer view, as a pointer to a D3D11X_DESCRIPTOR_BUFFER_VIEW structure.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.