XGTextureAddressComputer::GetTextureViewDescriptor Method

Returns the texture view descriptor for the given plane.

Syntax

public:
HRESULT GetTextureViewDescriptor(
         UINT32 PlaneIndex,
         XG_DESCRIPTOR_TEXTURE_VIEW *pDescriptor
)  

Parameters

PlaneIndex
Type: UINT32 

[in] The index number of the plane.

pDescriptor
Type: XG_DESCRIPTOR_TEXTURE_VIEW *

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

Return value

Type: HRESULT 

S_OK if successful; otherwise, an error message. Returns E_INVALIDARG if the given plane cannot be described with a descriptor.

Requirements

Header: Declared in xg.h.

Library: Use xg_x.lib.

See also

XGTextureAddressComputer

XGTextureAddressComputer Members