nn::gd::CTR::Light::UploadLookUpTableNative Member FunctionnnResult UploadLookUpTableNative( LightLookUpTableUploadId lightLutID, u32 lutStartIndex, const u32 * data, u32 dataCount );
| Name | Description | |
|---|---|---|
| in | lightLutID | Specifies the type of lookup table to be set. |
| in | lutStartIndex | Specifies the index of the lookup table to be set. |
| in | data | Specifies lookup table data. |
| in | dataCount | Specifies the number of data items in the lookup table. |
| Value | Description |
|---|---|
Result::IsSuccess |
Process was successful. |
ResultNullParameter |
NULL is specified in data. |
ResultInvalidParameter |
0 was specified in dataCount. Or, lightLutID was not LOOKUP_TABLE_UPLOAD_SP or LOOKUP_TABLE_UPLOAD_DA. |
ResultOutOfRangeParameter |
The sum of lutStartIndex + dataCount specifies a value greater than or equal to 256 (the maximum size of a light lookup table.) |
Sets the lighting lookup table. The data used by this function has already been converted from floating point to fixed point. This function is an immediate function. (The immediate function directly generates commands and inserts them into the command buffer.)
CONFIDENTIAL