nn::y2r::CTR::SetReceiving Function
void SetReceiving(
void * pDst,
size_t imageSize,
s16 transferUnit,
s16 transferStride = 0
);
| Name | Description | |
|---|---|---|
| in | pDst | Image data transfer destination. |
| in | imageSize | Specifies the total size of the data to transfer. This must be an integer multiple of transferUnit. |
| in | transferUnit | Specifies the size of a single transfer. To increase performance, we recommend setting a size equivalent to 8 lines. |
| in | transferStride | Specifies an offset value (separate from transferUnit) to add to the transfer destination address for each individual transfer. If you want to add an offset per each individual line, you must specify a size equivalent to 1 line for transferUnit. |
Configures loading of RGB data. The actual transfer operation takes place after the StartConversion function is called.
You must use this function to configure transfer settings before you start converting data with the nn::y2r::CTR::StartConversion function.
You cannot specify VRAM as the location to which image data will be transferred. For more information about accessing VRAM, see the CTR Programming Manual: Basic Graphics and other documents.
CONFIDENTIAL