Castor3D 0.16.0
Multiplatform 3D engine
Public Types | Public Member Functions | Public Attributes | List of all members
castor3d::GpuEventCleanerT< CacheT > Struct Template Reference

#include <GpuFunctorEvent.hpp>

Collaboration diagram for castor3d::GpuEventCleanerT< CacheT >:
Collaboration graph
[legend]

Public Types

using ElementT = typename CacheT::ElementT
 

Public Member Functions

 GpuEventCleanerT (FrameListener &listener)
 
void operator() (ElementT &res) const
 

Public Attributes

FrameListenerlistener
 

Detailed Description

template<typename CacheT>
struct castor3d::GpuEventCleanerT< CacheT >

Cached resource cleaner, through a GPU frame event.

Member Typedef Documentation

◆ ElementT

template<typename CacheT >
using castor3d::GpuEventCleanerT< CacheT >::ElementT = typename CacheT::ElementT

Constructor & Destructor Documentation

◆ GpuEventCleanerT()

template<typename CacheT >
castor3d::GpuEventCleanerT< CacheT >::GpuEventCleanerT ( FrameListener & listener)
inlineexplicit

Member Function Documentation

◆ operator()()

template<typename CacheT >
void castor3d::GpuEventCleanerT< CacheT >::operator() ( ElementT & res) const
inline

Member Data Documentation

◆ listener

template<typename CacheT >
FrameListener* castor3d::GpuEventCleanerT< CacheT >::listener

The documentation for this struct was generated from the following files: