Adds a specified number of bytes of no-operation padding to the current Command List.
public:
void NopX(
UINT SizeBytes
)
SizeBytes
Type: UINT
[in] Specifies the amount of padding, in bytes. Must be a multiple of 4, more than zero, and less than 64 KB.
Type: void
This API is intended primarily for use with Build-Your-Own-Bundles via ExecuteIndirectBundleX. It can be used to align the command buffer data for CPU or GPU efficiency, or to allow embedded meta-data in the command buffer stream that the GPU will ignore. Note that the GPU Command Processor reads the command buffer at 0.5 dwords per clock so it is not entirely ‘free’.
Header: Declared in d3d12_x.h.
Library: Use d3d12_x.lib.