TerraForge3D  2.3.1
3D Terrain And Landscape Generator
TextureBaker Class Reference

Public Member Functions

 TextureBaker (ApplicationState *appState)
 
void ShowSettings (bool *pOpen)
 
void Render (bool isPreview=true)
 
nlohmann::json Save ()
 
void Load (nlohmann::json data)
 

Public Attributes

int tileResolution = 512
 
int tileCount = 2
 
int tileX = 0
 
int tileY = 0
 
bool useTiledExport = false
 
float heightMapMinMax [2] = { -1.0f, 1.0f }
 
bool autoCalculateHeightMapMinMax = false
 
int currentTextureSlot = 0
 
Camera textureBakerCamera
 
ApplicationStateappState = nullptr
 
FrameBufferpreviewFrameBuffer = nullptr
 
FrameBufferbakeFrameBuffer = nullptr
 

Private Member Functions

void CalculateHeightMapMinMax ()
 
void Update ()
 
void Bake ()
 

Detailed Description

Definition at line 27 of file TextureBaker.h.


The documentation for this class was generated from the following files: