nw::gfx::res::ResCubeTexture::DynamicBuilder::LocationAddress Member Function

Syntax

DynamicBuilder & LocationAddress(
     CubeFace face,
     u32 locationAddress
);

Arguments

Name Description
in face The cube texture face.
in locationAddress Specifies the address at which the image has been deployed. This may be an address in VRAM.

Return Values

Returns a reference to an instance of itself.

Description

Sets the physical address of the texture.

If both LocationFlag and the LocationAddress for each of the six faces have been set, LocationAddress is given priority and LocationFlag is ignored. Textures are not copied with LocationAddress. Transfer separate images using nngxAddVramDmaCommand or other function.


CONFIDENTIAL