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

Pool of intersections used during the raytracing in order to reduce memory allocations. More...

Public Member Functions

 GeometryIntersectionPool (const unsigned int &chunk_size=128)
 
GeometryIntersectionnew_intersection ()
 
void free_intersection (GeometryIntersection *inter)
 
const unsigned int & get_used_item_count () const
 
size_t get_memory_size () const
 

Detailed Description

Pool of intersections used during the raytracing in order to reduce memory allocations.