XGTextureAddressComputer Members

XGTextureAddressComputer has the following members.

Public Methods

  Name Description
AddRef Increments the refcount and returns the new value.
CopyFromSubresource Copies the 2D or 3D linear input data from the given subresource (mip + slice) of the resource.
CopyIntoSubresource Copies the 2D or 3D linear input data into the given subresource (mip + slice) of the resource, using pTiledResourceBaseAddress as the resource’s base address.
GetMipLevelOffsetBytes Computes the offset in bytes of the given mip level on the given plane, from the base address of the resource.
GetResourceBaseAlignmentBytes Gets the base alignment of the resource, in bytes.
GetResourceLayout Returns the XG_RESOURCE_LAYOUT that was computed for this texture resource.
GetResourceSizeBytes Gets the resource size, in bytes.
GetResourceSizePages Gets the resource size, as the number of pages.
GetResourceTiling Returns the resource tiling layout, if the resource is created as a tiled resource using the XG_RESOURCE_MISC_TILED flag.
GetTexelCoordinate Computes the texel element coordinate of the given offset to the base address of the resource.
GetTexelElementOffsetBytes Computes the offset in bytes of the given texel element, from the base address of the resource.
GetTextureViewDescriptor Returns the texture view descriptor for the given plane.
Release Decrements the refcount and returns the new value. If the new value is zero, the object is deleted.

See also

XGTextureAddressComputer