메소드 | 설명 | |
---|---|---|
GetInterpolatedValue ( double x, double y, double z ) : float |
Computes interpolated value of a noise using trilinear interpolation.
|
|
NoiseCube ( int width, int height, int depth ) : System |
Creates a cube with specified dimensions and randomizes all values.
|
|
RandomizeValues ( ) : void |
Randomizes all values in a cube.
|
|
ToTexture3D ( SlimDX.Direct3D11.Device graphicsDevice ) : ShaderResourceView | ||
ToTexture3D ( SlimDX.Direct3D11.Device graphicsDevice, Format format ) : ShaderResourceView |
public GetInterpolatedValue ( double x, double y, double z ) : float | ||
x | double | Coordinate along width. |
y | double | Coordinate along height. |
z | double | Coordinate along depth. |
리턴 | float |
public NoiseCube ( int width, int height, int depth ) : System | ||
width | int | Width of a cube. |
height | int | Height of a cube. |
depth | int | Depth of a cube. |
리턴 | System |
public ToTexture3D ( SlimDX.Direct3D11.Device graphicsDevice ) : ShaderResourceView | ||
graphicsDevice | SlimDX.Direct3D11.Device | |
리턴 | ShaderResourceView |
public ToTexture3D ( SlimDX.Direct3D11.Device graphicsDevice, Format format ) : ShaderResourceView | ||
graphicsDevice | SlimDX.Direct3D11.Device | |
format | Format | |
리턴 | ShaderResourceView |