44 #ifndef ENGINE_BUFFHANDLE_ATTACH_H 45 #define ENGINE_BUFFHANDLE_ATTACH_H 62 #define _EXCEPTION_SAFE_INVOKE(_CTOR_) \ 65 return *new(pBuffer_) _CTOR_; \ 87 takeOwnershipFor<BU>();
88 _EXCEPTION_SAFE_INVOKE (BU());
91 #undef _EXCEPTION_SAFE_INVOKE 102 template<
typename BU>
117 template<
typename BU>
122 throw error::Logic (
"buffer not (yet) locked for access by clients" 124 return *
reinterpret_cast<BU*
> (pBuffer_);
Steam-Layer implementation namespace root.
BU & accessAs()
convenience shortcut: access the buffer contents casted to a specific type.
Derived specific exceptions within Lumiera's exception hierarchy.
BU & create()
convenience shortcut: place and maintain an object within the buffer.
An opaque descriptor to identify the type and further properties of a data buffer.
A front-end to support the buffer management within the render nodes.
Lumiera error handling (C++ interface).
Abstraction to represent buffer management and lifecycle within the render engine.
BufferDescriptor getDescriptor()
define a "buffer type" for automatically creating an instance of the template type embedded into the ...