- Home /
Texture2D.GetRawTextureData mipmaps resolutions
Hi, I'd like to directly alter a texture2d, including its mipmaps.
GetRawTextureData() will give me the buffer address. mipmapCount will give me how many maps are present in the buffer.
But in order to know where to write in the buffer, I need to know the XY resolution of each mipmap level. How can I get those resolutions?
Thanks.
Comment