colors | The colors to set the pixels to. |
miplevel | The mipmap level to be affected by the new colors. |
Sets pixel colors of a 3D texture.
This function takes a color array and changes the pixel colors of the 3D texture.
Call Apply to actually upload the changed pixels to the GPU.
Note that using Color32 data with ::SetPixels32 function can be faster and consume less memory.
See Also: GetPixels, SetPixels32, Apply.