Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Types | Public Member Functions | Static Public Attributes | List of all members
GasBvhSplitSahFast Class Reference

Classes

struct  SplitCandidate
 
union  SplitCandidate.__unnamed__
 

Public Types

enum  SplitType {
  MEDIAN_SPLIT,
  INDEX_SPLIT,
  SORTED_INDEX_SPLIT
}
 

Public Member Functions

template<class ItemSet >
void find (const ItemSet &input, SplitCandidate &candidate)
 
template<class ItemSet >
unsigned int split (const SplitCandidate &candidate, ItemSet &current)
 

Static Public Attributes

static constexpr unsigned int BIN_COUNT = 16
 

Class Documentation

struct GasBvhSplitSahFast::SplitCandidate
Class Members
union SplitCandidate __unnamed__
unsigned int axis
float cost
SplitType type
union GasBvhSplitSahFast::SplitCandidate.__unnamed__
Class Members
unsigned int index
float median

Member Enumeration Documentation

Enumerator:
MEDIAN_SPLIT 

split at a median value

INDEX_SPLIT 

split at an index

SORTED_INDEX_SPLIT 

split at an index after items have been sorted along the axis