Class TglBitmapNormalMap

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TglBitmapNormalMap = class(TglBitmapCubeMap)

Description

wrapper class for cube normal maps

Hierarchy

Overview

Methods

Public procedure AfterConstruction; override;
Public procedure GenerateNormalMap(const aSize: Integer = 32; const aTestTextureSize: Boolean = true);

Description

Methods

Public procedure AfterConstruction; override;

this method is called after constructor and initializes the object

Public 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