nn::gd::CTR::Resource::Helper Classclass Helper
Utility function for converting the format of texture resources.
| S | ConvertTextureResourceToNativeFormat | Converts the texture data into a native format. |
|---|---|---|
| S |
GenerateMipMapsCPU
|
This helper function generates mipmaps using the CPU. This function is used the same way as the MemoryGenerateMipMaps function. However, the MemoryGenerateMipMaps function executes the mipmap generation request command using the GPU, but the ResourceHelper::GenerateMipMapsCPU function performs mipmap calculations on the CPU. The drawback is that the MemoryGenerateMipMaps function.ResourceHelper::GenerateMipMapsCPU function is executed. The advantage is that for the Memory::GenerateMipMaps function, the resolution of the generated mipmap must be 32 or better. However, for the ResourceHelper::GenerateMipMapsCPU function, the minimum generated mipmap resolution is 8. The memory layout of the data source is LAYOUT_BLOCK_8 and the format of the data source is native format. The formats that can be used are: |
| S | ConvertCompressedTextureResourceToNativeFormat | Converts compressed texture data into a compressed native format. |
CONFIDENTIAL