Creates a texture address computer object for a Direct3D12-style resource description.
HRESULT XGCreateTextureComputerWithPitch(
const XG_RESOURCE_DESC *pDesc,
UINT Pitch,
XGTextureAddressComputer **ppComputer
)
pDesc
Type: XG_RESOURCE_DESC *
[in] Describes the resource.
Pitch
Type: UINT
[in] The pitch in texels.
ppComputer
Type: XGTextureAddressComputer **
[out] On success, contains the address of an XGTextureAddressComputer configured for the passed-in resource and pitch.
Type: HRESULT
E_INVALIDARG if pDesc describes a buffer, or one of the return codes described in Direct3D 11 return codes.
Buffers are not supported.
Header: Declared in xg.h.
Library: Use xg_x.lib.