API Documentation
Public Member Functions | List of all members
nkExport::Exportable Class Referenceabstract

An interface to define objects that can be exported using this component. More...

Inheritance diagram for nkExport::Exportable:
nkAstraeus::Material nkGraphics::BlendState nkGraphics::Buffer nkGraphics::Compositor nkGraphics::CompositorNode nkGraphics::Configuration nkGraphics::ConstantBuffer nkGraphics::DepthStencilState nkGraphics::Entity nkGraphics::EntityRenderInfo nkGraphics::EntityRenderInfoSlot nkGraphics::EntityRenderLodSlot nkGraphics::Mesh nkGraphics::Node nkGraphics::Pass nkGraphics::Program nkGraphics::RasterState nkGraphics::RenderQueue nkGraphics::Sampler nkGraphics::Shader nkGraphics::ShaderMemorySlot nkGraphics::StreamOutputDescriptor nkGraphics::TargetOperations nkGraphics::Texture nkScripts::Script nkWinUi::Component nkWinUi::Layout

Public Member Functions

 Exportable () noexcept
 
virtual ~Exportable ()
 
virtual void exportClassToTree (Node *rootNode)=0
 
virtual void importClassFromTree (Node *rootNode)=0
 

Detailed Description

An interface to define objects that can be exported using this component.

If need be, clients should inherit from this class and override the functions to import and export their object. This way, it will be possible to feed them to the Exporters.

Constructor & Destructor Documentation

◆ Exportable()

nkExport::Exportable::Exportable ( )
noexcept

Constructor.

◆ ~Exportable()

virtual nkExport::Exportable::~Exportable ( )
virtual

Destructor.

Member Function Documentation

◆ exportClassToTree()

virtual void nkExport::Exportable::exportClassToTree ( Node rootNode)
pure virtual

◆ importClassFromTree()

virtual void nkExport::Exportable::importClassFromTree ( Node rootNode)
pure virtual

The documentation for this class was generated from the following file: