C# Class VoxelTerrain.DirectComputeGenerator

Inheritance: IGenerate, IDisposable
Afficher le fichier Open project: barograf/VoxelTerrain

Méthodes publiques

Méthode Description
DirectComputeGenerator ( SlimDX.Direct3D11.Device graphicsDevice, VoxelMeshContainer container ) : System
Dispose ( ) : void
GenerateFromFormula ( int width, int height, int depth ) : void
GenerateFromNoiseCube ( int width, int height, int depth ) : void
GenerateFromNoiseCubeWithWarp ( int width, int height, int depth ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
Generate ( ComputeShader computePositionWeight, int width, int height, int depth ) : void
Initialize ( ) : void
NearestPowerOfTwo ( int x ) : int

Method Details

DirectComputeGenerator() public méthode

public DirectComputeGenerator ( SlimDX.Direct3D11.Device graphicsDevice, VoxelMeshContainer container ) : System
graphicsDevice SlimDX.Direct3D11.Device
container VoxelMeshContainer
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GenerateFromFormula() public méthode

public GenerateFromFormula ( int width, int height, int depth ) : void
width int
height int
depth int
Résultat void

GenerateFromNoiseCube() public méthode

public GenerateFromNoiseCube ( int width, int height, int depth ) : void
width int
height int
depth int
Résultat void

GenerateFromNoiseCubeWithWarp() public méthode

public GenerateFromNoiseCubeWithWarp ( int width, int height, int depth ) : void
width int
height int
depth int
Résultat void