Gorilla.Context.Texturing.OpenGL

Unit Gorilla.Context.Texturing.OpenGL.pas

Classes

TOpenGLPixelFormatExHelper

Ancestors

Members

TOpenGLGorillaTextureWrapHelper

GL_TEXTURE_2D GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP

CubeMapPositiveX, CubeMapNegativeX, CubeMapPositiveY, CubeMapNegativeY, CubeMapPositiveZ, CubeMapNegativeZ

Ancestors

Members

TOpenGLGorillaTextureDataTypeHelper

TOpenGLGorillaTexture

Extends the internal FMX texture class with more configuration opportunities to initialize a texture.

Remarks

The parent bitmap should be a TGorillaTextureBitmap instance, otherwise default values will be used for extended fields like WrapS, WrapT, ...

Ancestors

Members

Methods

TOpenGLGorillaTextureBitmap

Overrides the FMX texture bitmap component to allow more opportunities to configure texture (format, min-, magfilter, wrapping, datatype, ...) The basic problem with the FMX implementation is, that it uses fixed values for textures. This is not usable for usage in render passes, where a specific type of texture is expected, f.e. for shadow mapping.

Remarks

Because in render passes we create a TTextureBitmap / TGorillaTextureBitmap we need to store texture settings here, to apply them to the automatically created texture instance.

Ancestors

Members