Chman / Moments

A quick GIF replay recorder for Unity
zlib License
856 stars 118 forks source link

Remove texture.Apply call #19

Closed iBicha closed 4 years ago

iBicha commented 6 years ago

ReadPixels will put data in the CPU copy of the texture. Apply will copy the data from the CPU to the GPU. GetPixels32 will read the data from texture CPU copy into an array.

As you can see, the Apply call is not needed since we're not rendering the texture directly.

iBicha commented 4 years ago

Closing for inactivity