Syntax
Parameters
CountType: UINT The number of D3D12_WRITEBUFFERIMMEDIATE_PARAMETER structures that are pointed to by pParams and pModes. pParams [in]
Type: const D3D12_WRITEBUFFERIMMEDIATE_PARAMETER * The address of an array containing a number of D3D12_WRITEBUFFERIMMEDIATE_PARAMETER structures equal to Count. pModes [in, optional]
Type: const D3D12_WRITEBUFFERIMMEDIATE_MODE * The address of an array containing a number of D3D12_WRITEBUFFERIMMEDIATE_MODE structures equal to Count. The default value is null; passing null causes the system to write all immediate values using D3D12_WRITEBUFFERIMMEDIATE_MODE_DEFAULT.
Return value
Type: void None.Remarks
WriteBufferImmediate performs Count number of 32-bit writes: one for each value and destination specified in pParams. The receiving buffer (resource) must be in the D3D12_RESOURCE_STATE_COPY_DEST state to be a valid destination for WriteBufferImmediate.Requirements
Header: d3d12_xs.h or d3d12_x.hLibrary: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family
