Skip to main content
Creates a buffer.

Syntax

Parameters

NumBytes   _In_
Type: SIZE_T
The number of bytes in the buffer. ppBuffer   _Out_opt_
Type: LPD3D10BLOB*
The address of a pointer to the ID3D10Blob interface that is used to retrieve the buffer.

Return value

Type: HRESULT Returns S_OK if successful; otherwise, returns an error code. For a list of error codes, see Direct3D 12 return codes.

Requirements

Header: d3d12_xs.h Library: d3d12_xs.lib
Supported Platforms: XBOX Series consoles

See also

d3d12_xs
Last modified on August 20, 2026