static void | Read colors from LUT texture and write them in the pre-allocated target byte array. |
static void OVRPassthroughColorLut.ColorLutTextureConverter.TextureToColorByteMap ( Texture2D lut, int channelCount, byte[] target, bool flipY ) |
---|
Read colors from LUT texture and write them in the pre-allocated target byte array. Parameters lut Color LUT texture channelCount{RGB = 3, RGBA = 4} targetPre-allocated byte array that should fit all colors of the texture flipYFlag to inform whether the LUT texture should be flipped vertically |