XLE  v0.02.0
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
SceneEngine::TerrainRenderingContext Class Reference

Classes

struct  QueuedNode
 

Public Types

enum  Mode { Mode_Normal, Mode_RayTest, Mode_VegetationPrepare }
 

Public Member Functions

 TerrainRenderingContext (const TerrainCoverageId *coverageLayers, const CoverageFormat *coverageFmts, unsigned coverageLayerCount, bool encodedGradientFlags)
 
void EnterState (RenderCore::Metal::DeviceContext *context, LightingParserContext &parserContext, const TerrainMaterialTextures &materials, UInt2 elementSize, Mode mode=Mode_Normal)
 
void ExitState (RenderCore::Metal::DeviceContext *context, LightingParserContext &parserContext)
 

Public Attributes

RenderCore::Metal::ConstantBuffer _tileConstantsBuffer
 
RenderCore::Metal::ConstantBuffer _localTransformConstantsBuffer
 
RenderCore::Metal::ViewportDesc _currentViewport
 
unsigned _indexDrawCount
 
bool _dynamicTessellation
 
bool _encodedGradientFlags
 
TerrainCoverageId _coverageLayerIds [TerrainCellId::MaxCoverageCount]
 
CoverageFormat _coverageFmts [TerrainCellId::MaxCoverageCount]
 
unsigned _coverageLayerCount
 

Static Public Attributes

static std::vector< QueuedNode_queuedNodes
 

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