Stellarium  HEAD
Public Member Functions
TextureAverageComputer Class Reference

Public Member Functions

Vec4f getTextureAverage (GLuint texture)
 < The function to use for arbitrary NPOT textures More...
 
Vec4f getTextureAverageSimple (GLuint texture, int width, int height)
 
 TextureAverageComputer (StelOpenGL::HighGraphicsFunctions *, int texW, int texH, GLenum internalFormat, bool textureIsFloat)
 

Member Function Documentation

◆ getTextureAverage()

Vec4f TextureAverageComputer::getTextureAverage ( GLuint  texture)

< The function to use for arbitrary NPOT textures

Can be used for power-of-two textures