- Home /
mipmapCount for Cubemap and Texture3D
Texture2D has the mipmapCount field, but Cubemap and Texture3D (and possibly other Texture-based types) don't. You can use GetPixels/SetPixels to access data for a particular mip level, but as far as I can see you have no way of determining how many there are.
Is this just an omission, or are there other ways of finding out the same information?
This is a really good question! I have been setting and getting Texture3D mipmaps for weeks and it's just all weirds :S
Over a year :) Don't suppose a friendly Unity guy can answer this?
Answer by msue · Aug 18, 2016 at 01:10 PM
I am under the impression that calling Texture3D.SetPixels32() with a particular miplevel is being completely ignored. That is on Windows/Nvidia/Unity 5.4.0f3.
Your answer
Follow this Question
Related Questions
Texture mipmap distance 1 Answer
Cubemap vs. Texture speed on mobile 0 Answers
Is there a way to cap the max mipmap level of a generated texture? 1 Answer
from texture2D to cubemap 1 Answer