Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Attributes | Friends | List of all members
CtxGasTraversal Class Reference
Inheritance diagram for CtxGasTraversal:
CoreScratchpadMemory

Classes

struct  Cache
 

Public Attributes

Cache last_hit [GMathRay<>::TYPE_COUNT]
 

Friends

class CtxShader
 

Additional Inherited Members

- Public Member Functions inherited from CoreScratchpadMemory
 CoreScratchpadMemory (const size_t &default_page_size)
 Memory scratchpad constructor.
 
virtual ~CoreScratchpadMemory ()
 mMemory scratchpad destructor. Will call every allocated objects destructor.
 
template<class T >
T * new_object (const unsigned int &count=1)
 Returns a handle on the allocated data. The constructor of the class is called for each newly created object, and the destructor will be called when deleting the scratchpad, or reseting it.
 
template<class T >
T * alloc_data (const unsigned int &count=1)
 Returns a handle on the allocated raw data. No constructor or destructor call.
 
void reset ()
 Reset the memory scratchpad, calling every registered destructors on allocated data.
 
const unsigned int & get_page_count () const
 Get the current number of allocated pages.
 
const unsigned int & get_resize_count () const
 Get the number of times a page has been resized.
 

Class Documentation

struct CtxGasTraversal::Cache
Class Members
const void * gas
const void * node