API Documentation
Pass.h
1 // Pass.h
3 //
5 
6 namespace nkGraphics
7 {
14  class Pass : public ProfilableClass, public nkExport::Exportable
15  {
16  public :
17 
18  // Constructor, destructor
25  Pass (System* system) noexcept ;
30  virtual ~Pass () ;
31 
32  // Getters
36  System* getSystem () const ;
44  PASS_TYPE getType () const ;
49 
55  void setParent (TargetOperations* parent) ;
62 
63  // Import / Export
64  virtual void exportClassToTree (nkExport::Node* rootNode) override ;
65  virtual void importClassFromTree (nkExport::Node* rootNode) override ;
66  } ;
67 }
nkGraphics::Pass::~Pass
virtual ~Pass()
nkGraphics::Pass::setName
void setName(nkMemory::StringView name)
nkExport::Exportable
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
nkGraphics::TargetOperations
Describes a target operation set.
Definition: TargetOperations.h:15
nkGraphics::Pass::exportClassToTree
virtual void exportClassToTree(nkExport::Node *rootNode) override
nkGraphics::Pass::importClassFromTree
virtual void importClassFromTree(nkExport::Node *rootNode) override
nkGraphics::Pass::getParent
TargetOperations * getParent() const
nkGraphics::Pass::getType
PASS_TYPE getType() const
nkExport::Node
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
nkGraphics::Pass
The base for a pass within a TargetOperations.
Definition: Pass.h:15
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics::PASS_TYPE
PASS_TYPE
The pass types available in the component.
Definition: PassType.h:12
nkGraphics::Pass::getName
nkMemory::StringView getName() const
nkGraphics::Pass::getSystem
System * getSystem() const
nkGraphics::Pass::setParent
void setParent(TargetOperations *parent)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::Pass::Pass
Pass(System *system) noexcept