OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4LandscapeRender.h File Reference
#include "C4ForbidLibraryCompilation.h"
#include "graphics/C4FacetEx.h"
#include "graphics/C4Shader.h"
#include "graphics/C4Surface.h"
#include <chrono>
Include dependency graph for C4LandscapeRender.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  C4LandscapeRender
 
class  C4LandscapeRenderGL
 

Enumerations

enum  C4LR_Byte {
  C4LR_Material, C4LR_BiasX, C4LR_BiasY, C4LR_Scaler,
  C4LR_Place, C4LR_ByteCount
}
 
enum  C4LR_Uniforms {
  C4LRU_ProjectionMatrix, C4LRU_LandscapeTex, C4LRU_ScalerTex, C4LRU_MaterialTex,
  C4LRU_LightTex, C4LRU_AmbientTex, C4LRU_Gamma, C4LRU_Resolution,
  C4LRU_Center, C4LRU_MatMapTex, C4LRU_MaterialDepth, C4LRU_MaterialSize,
  C4LRU_AmbientBrightness, C4LRU_AmbientTransform, C4LRU_Modulation, C4LRU_FrameCounter,
  C4LRU_Time, C4LRU_Count
}
 
enum  C4LR_Attributes { C4LRA_Position, C4LRA_LandscapeTexCoord, C4LRA_LightTexCoord, C4LRA_Count }
 

Variables

const int C4LR_BytesPerPx = 3
 
const int C4LR_BytesPerSurface = 4
 
const int C4LR_SurfaceCount = (C4LR_ByteCount + C4LR_BytesPerSurface - 1) / C4LR_BytesPerSurface
 

Enumeration Type Documentation

Enumerator
C4LRA_Position 
C4LRA_LandscapeTexCoord 
C4LRA_LightTexCoord 
C4LRA_Count 

Definition at line 66 of file C4LandscapeRender.h.

enum C4LR_Byte
Enumerator
C4LR_Material 
C4LR_BiasX 
C4LR_BiasY 
C4LR_Scaler 
C4LR_Place 
C4LR_ByteCount 

Definition at line 28 of file C4LandscapeRender.h.

Enumerator
C4LRU_ProjectionMatrix 
C4LRU_LandscapeTex 
C4LRU_ScalerTex 
C4LRU_MaterialTex 
C4LRU_LightTex 
C4LRU_AmbientTex 
C4LRU_Gamma 
C4LRU_Resolution 
C4LRU_Center 
C4LRU_MatMapTex 
C4LRU_MaterialDepth 
C4LRU_MaterialSize 
C4LRU_AmbientBrightness 
C4LRU_AmbientTransform 
C4LRU_Modulation 
C4LRU_FrameCounter 
C4LRU_Time 
C4LRU_Count 

Definition at line 40 of file C4LandscapeRender.h.

Variable Documentation

const int C4LR_BytesPerPx = 3

Definition at line 76 of file C4LandscapeRender.h.

const int C4LR_BytesPerSurface = 4

Definition at line 79 of file C4LandscapeRender.h.