Class TglBitmapNormalMap
Unit
glBitmap
Declaration
type TglBitmapNormalMap = class(TglBitmapCubeMap)
Description
wrapper class for cube normal maps
Hierarchy
Overview
Methods
Description
Methods
|
procedure AfterConstruction; override; |
this method is called after constructor and initializes the object
|
|
procedure GenerateNormalMap(const aSize: Integer = 32; const aTestTextureSize: Boolean = true); |
create cube normal map from texture data and upload it to video card
Parameters
- aSize
- size of each cube map texture
- aTestTextureSize
- check texture size when uploading and throw exception if something is wrong
|
Generated by PasDoc 0.13.0 on 2014-12-21 15:05:48
|