XGCreateTextureComputerFromDescriptor

Creates a texture address computer object for the given texture descriptor.

Syntax

HRESULT XGCreateTextureComputerFromDescriptor(
         const XG_DESCRIPTOR_TEXTURE_VIEW *pDescriptor,
         XGTextureAddressComputer **ppComputer
)  

Parameters

pDescriptor
Type: XG_DESCRIPTOR_TEXTURE_VIEW *

[in] The texture view descriptor, as a pointer to an XG_DESCRIPTOR_TEXTURE_VIEW structure.

ppComputer
Type: XGTextureAddressComputer **

[out] Outputs the newly created texture address computer object for the texture descriptor, as a pointer to pointer to an XGTextureAddressComputer instance.

Return value

Type: HRESULT 

S_OK if successful; otherwise, an error message.

Requirements

Header: Declared in xg.h.

Library: Use xg_x.lib.