Call Allocate before using and Dispose after using.
More...
Call Allocate before using and Dispose after using.
Definition at line 10 of file ClusteringRTsAndBuffers.cs.
◆ ClusteringRTsAndBuffers()
| ClusteringAlgorithms.ClusteringRTsAndBuffers.ClusteringRTsAndBuffers |
( |
int |
numClusters, |
|
|
int |
workingSize, |
|
|
int |
fullSize, |
|
|
int |
jitterSize |
|
) |
| |
|
inline |
◆ Allocate()
| void ClusteringAlgorithms.ClusteringRTsAndBuffers.Allocate |
( |
| ) |
|
|
inline |
◆ Dispose()
| void ClusteringAlgorithms.ClusteringRTsAndBuffers.Dispose |
( |
| ) |
|
|
inline |
◆ Downsample()
| void ClusteringAlgorithms.ClusteringRTsAndBuffers.Downsample |
( |
ComputeShader |
csHighlightRemoval, |
|
|
bool |
staggeredJitter, |
|
|
bool |
doDownscale |
|
) |
| |
|
inline |
◆ GetClusterCenters()
| ClusterCenters ClusteringAlgorithms.ClusteringRTsAndBuffers.GetClusterCenters |
( |
| ) |
|
|
inline |
◆ PickRandomCluster()
| int ClusteringAlgorithms.ClusteringRTsAndBuffers.PickRandomCluster |
( |
int |
numClusters | ) |
|
|
inline |
◆ RandomizeClusterCenters()
| void ClusteringAlgorithms.ClusteringRTsAndBuffers.RandomizeClusterCenters |
( |
| ) |
|
|
inline |
◆ SetClusterCenters()
| void ClusteringAlgorithms.ClusteringRTsAndBuffers.SetClusterCenters |
( |
Vector4[] |
clusterCentersBufferData | ) |
|
|
inline |
Reads the cluster centers data from the array and loads it into the ComputeBuffer.
- Parameters
-
Definition at line 41 of file ClusteringRTsAndBuffers.cs.
◆ SetDeterministicClusterCenters()
| void ClusteringAlgorithms.ClusteringRTsAndBuffers.SetDeterministicClusterCenters |
( |
| ) |
|
|
inline |
◆ UpdateRandomPositions()
| void ClusteringAlgorithms.ClusteringRTsAndBuffers.UpdateRandomPositions |
( |
| ) |
|
|
inline |
◆ fullSize
| readonly int ClusteringAlgorithms.ClusteringRTsAndBuffers.fullSize |
◆ jitterSize
| readonly int ClusteringAlgorithms.ClusteringRTsAndBuffers.jitterSize |
◆ max_num_clusters
| const int ClusteringAlgorithms.ClusteringRTsAndBuffers.max_num_clusters = 32 |
|
static |
◆ numClusters
| readonly int ClusteringAlgorithms.ClusteringRTsAndBuffers.numClusters |
◆ randomInit
| const bool ClusteringAlgorithms.ClusteringRTsAndBuffers.randomInit = true |
|
static |
◆ rtResult
| RenderTexture ClusteringAlgorithms.ClusteringRTsAndBuffers.rtResult |
◆ workingSize
| readonly int ClusteringAlgorithms.ClusteringRTsAndBuffers.workingSize |
◆ cbufClusterCenters
| ComputeBuffer ClusteringAlgorithms.ClusteringRTsAndBuffers.cbufClusterCenters |
|
get |
◆ cbufRandomPositions
| ComputeBuffer ClusteringAlgorithms.ClusteringRTsAndBuffers.cbufRandomPositions |
|
get |
◆ isAllocated
| bool ClusteringAlgorithms.ClusteringRTsAndBuffers.isAllocated |
|
get |
◆ texturesFullRes
◆ texturesWorkRes
The documentation for this class was generated from the following file: