omegalib  13.1
omega::GpuRef< T > Class Template Reference

A template for accessing gpu resources on multiple contexts. More...

#include <DrawContext.h>

Public Member Functions

 GpuRef ()
 
Ref< T > & operator() (const GpuContext &context)
 
Ref< T > & operator() (const DrawContext &context)
 
double & stamp (const GpuContext &context)
 
double & stamp (const DrawContext &context)
 

Detailed Description

template<typename T>
class omega::GpuRef< T >

A template for accessing gpu resources on multiple contexts.

Constructor & Destructor Documentation

template<typename T >
omega::GpuRef< T >::GpuRef ( )
inline

Member Function Documentation

template<typename T >
Ref<T>& omega::GpuRef< T >::operator() ( const GpuContext context)
inline
template<typename T >
Ref<T>& omega::GpuRef< T >::operator() ( const DrawContext context)
inline
template<typename T >
double& omega::GpuRef< T >::stamp ( const GpuContext context)
inline
template<typename T >
double& omega::GpuRef< T >::stamp ( const DrawContext context)
inline

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