X-Git-Url: https://git.delphigl.com/?p=LazOpenGLCore.git;a=blobdiff_plain;f=doc%2FglBitmap.TglBitmapCubeMap.html;fp=doc%2FglBitmap.TglBitmapCubeMap.html;h=e3bd45b1f9c1d88e951a6a035f683005b76e0de7;hp=0000000000000000000000000000000000000000;hb=1f9d3b8b9ce7d5e05f7af88c7ab0fd094609d9e5;hpb=5a2eeb45d528c5a2406b2ae5d73a4c711b2ea7dc diff --git a/doc/glBitmap.TglBitmapCubeMap.html b/doc/glBitmap.TglBitmapCubeMap.html new file mode 100644 index 0000000..e3bd45b --- /dev/null +++ b/doc/glBitmap.TglBitmapCubeMap.html @@ -0,0 +1,133 @@ + + + +glBitmap: Class TglBitmapCubeMap + + + + + +
+

Class TglBitmapCubeMap

+ + +
DescriptionHierarchyFieldsMethodsProperties
+

Unit

+ +

Declaration

+

+type TglBitmapCubeMap = class(TglBitmap2D)

+

Description

+

+wrapper class for cube maps (OpenGL target = GL_TEXTURE_CUBE_MAP)

+

Hierarchy

+

Overview

+

Methods

+ + + + + + + + + + + + + + + + + + + + + +
Protectedprocedure GenTexture(const aTestTextureSize: Boolean = true); reintroduce;
Publicprocedure AfterConstruction; override;
Publicprocedure GenerateCubeMap(const aCubeTarget: Cardinal; const aTestTextureSize: Boolean = true);
Publicprocedure Bind( const aEnableTextureUnit: Boolean = true); reintroduce; virtual;
Publicprocedure Unbind( const aDisableTextureUnit: Boolean = true); reintroduce; virtual;
+

Description

+

Methods

+ + + + + + +
Protectedprocedure GenTexture(const aTestTextureSize: Boolean = true); reintroduce;
+

+generate texture (create texture object if not exist, set texture parameters and upload data do not call directly for cubemaps, use GenerateCubeMap instead

+
Parameters
+
+
aTestTextureSize
+
check the size of the texture and throw exception if something is wrong
+
+
+ + + + + + +
Publicprocedure AfterConstruction; override;
+

+this method is called after constructor and initializes the object

+
+ + + + + + +
Publicprocedure GenerateCubeMap(const aCubeTarget: Cardinal; const aTestTextureSize: Boolean = true);
+

+generate texture (create texture object if not exist, set texture parameters and upload data

+
Parameters
+
+
aCubeTarget
+
cube map target to upload data to (e.g. GL_TEXTURE_CUBE_MAP_POSITIVE_X)
+
aTestTextureSize
+
check the size of the texture and throw exception if something is wrong
+
+
+ + + + + + +
Publicprocedure Bind( const aEnableTextureUnit: Boolean = true); reintroduce; virtual;
+

+bind texture

+
Parameters
+
+
aEnableTexCoordsGen
+
enable cube map generator
+
aEnableTextureUnit
+
enable texture unit
+
+
+ + + + + + +
Publicprocedure Unbind( const aDisableTextureUnit: Boolean = true); reintroduce; virtual;
+

+unbind texture

+
Parameters
+
+
aDisableTexCoordsGen
+
disable cube map generator
+
aDisableTextureUnit
+
disable texture unit
+
+
+
Generated by PasDoc 0.13.0 on 2014-12-21 15:05:48 + +