Computes the mipmap level of a cubemap texture where the texel cones correspond to the given cone opening angle.
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.
Returns the number of renderable primitives for the given primitive type and vertex count.
Helper method that calls IResource.Binding2 for the given resources.
Adjust the given texture size to make it valid in terms of the given texture size restrictions.