Helper-Klasse um custom Mipmaps zu erstellen (speziell das Maximum zu berechnen) More...
Public Member Functions | |
MipmapGenerator (Form1 _parent, GLTextureRgba2D _baseTex, GLProgram _program) | |
void | resize () |
Skaliert den Mipmap-Generator. | |
void | calcMipmaps () |
Berechnet die custom Mipmaps (speziell das Maximum) | |
GLTextureRgba2D | getMipmapTex () |
GLTextureRgba2D | getTempTex () |
GLTextureRgba2D | getMaxTex () |
int | getMaxLevel () |
Helper-Klasse um custom Mipmaps zu erstellen (speziell das Maximum zu berechnen)
HW09CPC.MipmapGenerator.MipmapGenerator | ( | Form1 | _parent, |
GLTextureRgba2D | _baseTex, | ||
GLProgram | _program | ||
) |
Konstruktor
_parent | das Parent-Form1 |
_baseTex | die Basis-Textur |
_program | das zu verwendente GL-Program |
int HW09CPC.MipmapGenerator.getMaxLevel | ( | ) |
Liefert das maximale Level zurück
GLTextureRgba2D HW09CPC.MipmapGenerator.getMaxTex | ( | ) |
Liefert die Textur zurück welche das Maximum enhält
GLTextureRgba2D HW09CPC.MipmapGenerator.getMipmapTex | ( | ) |
Liefert die Mipmap-Textur zurück
GLTextureRgba2D HW09CPC.MipmapGenerator.getTempTex | ( | ) |
Liefert die Temp-Textur (Helper) zurück