![]() |
Divide Framework 0.1
A free and open-source 3D Framework under heavy development
|
#include <GFXRTPool.h>
Public Member Functions | |
GFXRTPool (GFXDevice &parent) | |
~GFXRTPool ()=default | |
RenderTargetHandle | allocateRT (const RenderTargetDescriptor &descriptor) |
bool | deallocateRT (RenderTargetHandle &handle) |
RenderTarget * | getRenderTarget (const RenderTargetID target) const |
const vector< RenderTarget_uptr > & | getRenderTargets () const noexcept |
Protected Attributes | |
GFXDevice & | _parent |
SharedMutex | _renderTargetLock |
vector< RenderTarget_uptr > | _renderTargets |
RenderTargetID | _renderTargetIndex = 0u |
Definition at line 40 of file GFXRTPool.h.
|
explicit |
Definition at line 12 of file GFXRTPool.cpp.
|
default |
RenderTargetHandle Divide::GFXRTPool::allocateRT | ( | const RenderTargetDescriptor & | descriptor | ) |
Definition at line 17 of file GFXRTPool.cpp.
bool Divide::GFXRTPool::deallocateRT | ( | RenderTargetHandle & | handle | ) |
Definition at line 33 of file GFXRTPool.cpp.
RenderTarget * Divide::GFXRTPool::getRenderTarget | ( | const RenderTargetID | target | ) | const |
Definition at line 50 of file GFXRTPool.cpp.
|
inlinenoexcept |
Definition at line 50 of file GFXRTPool.h.
|
protected |
Definition at line 53 of file GFXRTPool.h.
|
protected |
Definition at line 56 of file GFXRTPool.h.
|
mutableprotected |
Definition at line 54 of file GFXRTPool.h.
|
protected |
Definition at line 55 of file GFXRTPool.h.