Wrapper for either a UserFrameBuffer or the DefaultFrameBuffer (provides a layer of indirection)
If created, it creates a UserFrameBuffer internally
Inherits NotCopyable.
Public Member Functions | |
| FrameBuffer (std::shared_ptr< internal::FrameBufferInterface > fb) | |
| void | create () |
| void | prime (std::function< void(HotFrameBuffer &)> func) |
| void | attachColor (int index, const Tex2D &tex) |
| void | attachDepth (const Tex2D &tex) |
| void | attachDepthStencil (const Tex2D &tex) |
| int | countAttachments () |
Static Public Member Functions | |
| static bool | isPrimed () |
Additional Inherited Members | |
Protected Member Functions inherited from NotCopyable | |
| NotCopyable (const NotCopyable &)=delete | |
| NotCopyable & | operator= (const NotCopyable &)=delete |