XGTextureAddressComputer::GetMipLevelOffsetBytes Method

Computes the offset in bytes of the given mip level on the given plane, from the base address of the resource.

Syntax

public:
UINT64 GetMipLevelOffsetBytes(
         UINT32 Plane,
         UINT32 MipLevel
)  

Parameters

Plane
Type: UINT32 

[in] The plane.

MipLevel
Type: UINT32 

[in] The mip level.

Return value

Type: UINT64 

The offset in bytes of the given mip level on the given plane.

Requirements

Header: Declared in xg.h.

Library: Use xg_x.lib.

See also

XGTextureAddressComputer

XGTextureAddressComputer Members