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

Classes

struct  Settings
 

Public Types

enum  RenderDebugMode { WaterVelocity3D, HardMaterials, SoftMaterials }
 

Public Member Functions

void Tick (RenderCore::Metal::DeviceContext &metalContext, const Settings &settings)
 
void RenderDebugging (RenderCore::Metal::DeviceContext &metalContext, LightingParserContext &parserContext, RenderDebugMode mode, const Float2 &worldSpaceOffset=Float2(0.f, 0.f))
 
void InitHeights (RenderCore::Metal::DeviceContext &metalContext, RenderCore::Metal::ShaderResourceView &source, UInt2 topLeft, UInt2 bottomRight)
 
void GetHeights (RenderCore::Metal::DeviceContext &metalContext, RenderCore::Metal::UnorderedAccessView &dest, UInt2 topLeft, UInt2 bottomRight)
 
UInt2 GetDimensions () const
 
float GetWorldSpaceSpacing () const
 
 ErosionSimulation (UInt2 dimensions, float worldSpaceSpacing)
 

Static Public Member Functions

static UInt2 DefaultTileSize ()
 

Protected Attributes

std::unique_ptr< Pimpl > _pimpl
 

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