Ark Server API (ASA) - Wiki
|
#include <Sobol.h>
Static Public Member Functions | |
static float | Evaluate (int32 Index, int32 Dim, int32 Seed=0) |
static float | Next (int32 Index, int32 Dim, float Value) |
static FVector2D | Evaluate (int32 Index, int32 CellBits, FIntPoint Cell, FIntPoint Seed) |
static FVector2D | Next (int32 Index, int32 CellBits, FVector2D Value) |
static FVector | Evaluate (int32 Index, int32 CellBits, FIntVector Cell, FIntVector Seed) |
static FVector | Next (int32 Index, int32 CellBits, FVector Value) |
static uint16 | ComputeGPUSpatialSeed (int32 x, int32 y, int32 Index) |
Static Public Attributes | |
static constexpr int32 | MaxDimension = 15 |
static constexpr int32 | MaxCell2DBits = 15 |
static constexpr int32 | MaxCell3DBits = 10 |
Static Private Attributes | |
static const int32 | DirectionNumbers [MaxDimension+1][32] |
static const int32 | GrayNumbers [MaxDimension+1][32] |
static const int32 | Cell2DDirectionNumbers [MaxCell2DBits+1][32][2] |
static const int32 | Cell2DGrayNumbers [MaxCell2DBits+1][32][2] |
static const int32 | Cell3DDirectionNumbers [MaxCell3DBits+1][32][3] |
static const int32 | Cell3DGrayNumbers [MaxCell3DBits+1][32][3] |
Return value for GSystemTextures.SobolSampling
|
static |
Evaluate Sobol number from within a 2D cell at given index
Index | - The index to evaluate. |
Cell | - Integer cell coordinates. |
CellBits | - Number of bits in cell coordinates. |
Seed | - A 24-bit per component 2D seed for shuffling values |
|
static |
Evaluate Sobol number from within a 3D cell at given index
Index | - The index to evaluate. |
Cell | - Integer cell coordinates. |
CellBits | - Number of bits in cell coordinates. |
Seed | - A seed for shuffling values (0-1) |
Evaluate Sobol number from one of the traditional Sobol dimensions at the given index
Index | - The index to evaluate. |
Dim | - The Sobol dimension to use (0-15). |
Seed | - A 24-bit random seed when reusing the same dimension |
Evaluate next Sobol number from within a 3D cell
Index | - The index for the Sobol number to generate. |
CellBits | - Number of bits in cell coordinates. |
Value | - The value for the Sobol number at Index-1. |
Evaluate next Sobol number from within a 2D cell
Index | - The index for the Sobol number to generate. |
CellBits | - Number of bits in cell coordinates. |
Value | - The value for the Sobol number at Index-1. |
Evaluate next Sobol number from one of the traditional Sobol dimensions
Index | - The index for the Sobol number to generate. |
Dim | - The Sobol dimension to use (0-15) |
Value | - The value for the Sobol number at Index-1. |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |