C# Class VoxelTerrain.CUDAGenerator

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

Méthodes publiques

Méthode Description
CUDAGenerator ( SlimDX.Direct3D11.Device graphicsDevice, VoxelMeshContainer container ) : ManagedCuda
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 ( CudaKernel kernelPositionWeight, int width, int height, int depth ) : void
InitializeCUDA ( ) : void
NearestPowerOfTwo ( int x ) : int

Method Details

CUDAGenerator() public méthode

public CUDAGenerator ( SlimDX.Direct3D11.Device graphicsDevice, VoxelMeshContainer container ) : ManagedCuda
graphicsDevice SlimDX.Direct3D11.Device
container VoxelMeshContainer
Résultat ManagedCuda

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