|
Nebula
|
#include <framecode.h>
Inherits Frame::FrameOp.
Classes | |
| struct | CompiledImpl |
Public Types | |
| using | FrameCodeFunc = void(*)(const CoreGraphics::CmdBufferId cmdBuf, const IndexT frameIndex, const IndexT bufferIndex) |
| using | FrameBuildFunc = void(*)(const CoreGraphics::PassId pass, uint subpass) |
Public Member Functions | |
| FrameCode () | |
| constructor | |
| virtual | ~FrameCode () |
| destructor | |
| FrameOp::Compiled * | AllocCompiled (Memory::ArenaAllocator< BIG_CHUNK > &allocator) override |
| allocate instance of compiled | |
| Public Member Functions inherited from Frame::FrameOp | |
| FrameOp () | |
| constructor | |
| virtual | ~FrameOp () |
| destructor | |
| virtual void | Discard () |
| discard operation | |
| void | SetName (const Util::StringAtom &name) |
| set name | |
| const Util::StringAtom & | GetName () const |
| get name | |
| void | SetEnabled (bool b) |
| set if operation should be enabled | |
| const bool | GetEnabled () const |
| get if operation is enabled | |
| void | AddChild (FrameOp *op) |
| add child operation | |
| const Util::Array< Frame::FrameOp * > & | GetChildren () |
| get children | |
| virtual void | OnWindowResized () |
| handle display resizing | |
Private Member Functions | |
| void | Build (const BuildContext &ctx) override |
| build operation | |
| using Frame::FrameCode::FrameBuildFunc = void(*)(const CoreGraphics::PassId pass, uint subpass) |
| using Frame::FrameCode::FrameCodeFunc = void(*)(const CoreGraphics::CmdBufferId cmdBuf, const IndexT frameIndex, const IndexT bufferIndex) |
| Frame::FrameCode::FrameCode | ( | ) |
constructor
|
virtual |
destructor
|
overridevirtual |
allocate instance of compiled
Implements Frame::FrameOp.
|
overrideprivatevirtual |
build operation
Reimplemented from Frame::FrameOp.
| FrameBuildFunc Frame::FrameCode::buildFunc |
| FrameCodeFunc Frame::FrameCode::func |