XGTextureAddressComputer::GetResourceSizeBytes Method

Gets the resource size, in bytes.

Syntax

public:
UINT64 GetResourceSizeBytes()  

Return value

Type: UINT64 

The resource size, in bytes.

Remarks

This is a helper method. Calling this method is equivalent to calling XGTextureAddressComputer::GetResourceLayout and getting the SizeBytes parameter from that layout.

Requirements

Header: Declared in xg.h.

Library: Use xg_x.lib.

See also

XGTextureAddressComputer

XGTextureAddressComputer Members