Material Clustering Benchmark
ClusteringAlgorithms.ClusterCenters Class Reference

Call Dispose after using. More...

Inheritance diagram for ClusteringAlgorithms.ClusterCenters:

Classes

class  InvalidClustersException
 

Public Member Functions

void Dispose ()
 

Static Public Member Functions

static ClusterCenters Get (int numClusters, Vector4[] centersBufferData)
 Gets a pooled instance of ClusterCenters. The data is copied, making is safe to edit. Don't forget to dispose! More...
 
static void LogClusterCenters (int numClusters, Vector4[] centersBufferData)
 

Public Attributes

Vector4[] centers
 
float? oldVariance
 
float? variance
 
bool warning
 

Detailed Description

Call Dispose after using.

Definition at line 10 of file ClusterCenters.cs.

Member Function Documentation

◆ Dispose()

void ClusteringAlgorithms.ClusterCenters.Dispose ( )
inline

Definition at line 50 of file ClusterCenters.cs.

◆ Get()

static ClusterCenters ClusteringAlgorithms.ClusterCenters.Get ( int  numClusters,
Vector4[]  centersBufferData 
)
inlinestatic

Gets a pooled instance of ClusterCenters. The data is copied, making is safe to edit. Don't forget to dispose!

Returns

Definition at line 75 of file ClusterCenters.cs.

◆ LogClusterCenters()

static void ClusteringAlgorithms.ClusterCenters.LogClusterCenters ( int  numClusters,
Vector4[]  centersBufferData 
)
inlinestatic

Definition at line 156 of file ClusterCenters.cs.

Member Data Documentation

◆ centers

Vector4 [] ClusteringAlgorithms.ClusterCenters.centers

Definition at line 12 of file ClusterCenters.cs.

◆ oldVariance

float? ClusteringAlgorithms.ClusterCenters.oldVariance

Definition at line 14 of file ClusterCenters.cs.

◆ variance

float? ClusteringAlgorithms.ClusterCenters.variance

Definition at line 13 of file ClusterCenters.cs.

◆ warning

bool ClusteringAlgorithms.ClusterCenters.warning

Definition at line 15 of file ClusterCenters.cs.


The documentation for this class was generated from the following file: