RenderingUtil
Public / Methods
MipmapForCone
Computes the mipmap level of a cubemap texture where the texel cones correspond to the given cone opening angle.
MipmapLevelsRect
Returns the number of mipmap levels of the given texture image.
This method uses the floor convention as the dimension reduction rule for each successively smaller mipmap level (just like Direct3D and OpenGL do): the mipmap width resp. height is divided by two and round down to the next integer.
https://www.opengl.org/registry/specs/ARB/texture_non_power_of_two.txt
PrimitiveCount
Returns the number of renderable primitives for the given primitive type and vertex count.