API Documentation
StreamOutputDescriptor.h
1 // StreamOutputDescriptor.h
3 //
5 
6 namespace nkGraphics
7 {
14  {
15  public :
16 
20  StreamOutputDescriptor () noexcept ;
21 
22  // Getters
26  unsigned int getStream () const ;
30  nkMemory::StringView getSemanticName () const ;
34  unsigned int getSemanticIndex () const ;
38  unsigned char getStartComponent () const ;
42  unsigned char getComponentCount () const ;
46  unsigned char getOutputSlot () const ;
47 
48  // Setters
54  void setStream (unsigned int value) ;
60  void setSemanticName (const nkMemory::StringView& value) ;
66  void setSemanticIndex (unsigned int value) ;
72  void setStartComponent (unsigned char value) ;
78  void setComponentCount (unsigned char value) ;
84  void setOutputSlot (unsigned char value) ;
85 
91  virtual void exportClassToTree (nkExport::Node* rootNode) override ;
97  virtual void importClassFromTree (nkExport::Node* rootNode) override ;
98  } ;
99 }
nkGraphics::StreamOutputDescriptor::getOutputSlot
unsigned char getOutputSlot() const
nkGraphics::StreamOutputDescriptor::getStream
unsigned int getStream() const
nkGraphics::StreamOutputDescriptor::setOutputSlot
void setOutputSlot(unsigned char value)
nkExport::Exportable
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
nkGraphics::StreamOutputDescriptor
Holds information about a stream output slot.
Definition: StreamOutputDescriptor.h:14
nkExport
Encompasses all API of component NilkinsExport.
Definition: Base64Encoder.h:7
nkGraphics::StreamOutputDescriptor::setStream
void setStream(unsigned int value)
nkGraphics::StreamOutputDescriptor::setSemanticName
void setSemanticName(const nkMemory::StringView &value)
nkGraphics::StreamOutputDescriptor::setStartComponent
void setStartComponent(unsigned char value)
nkGraphics::StreamOutputDescriptor::importClassFromTree
virtual void importClassFromTree(nkExport::Node *rootNode) override
nkGraphics::StreamOutputDescriptor::exportClassToTree
virtual void exportClassToTree(nkExport::Node *rootNode) override
nkGraphics::StreamOutputDescriptor::getComponentCount
unsigned char getComponentCount() const
nkGraphics::StreamOutputDescriptor::getSemanticName
nkMemory::StringView getSemanticName() const
nkGraphics::StreamOutputDescriptor::getSemanticIndex
unsigned int getSemanticIndex() const
nkGraphics::StreamOutputDescriptor::getStartComponent
unsigned char getStartComponent() const
nkGraphics::StreamOutputDescriptor::setComponentCount
void setComponentCount(unsigned char value)
nkGraphics::StreamOutputDescriptor::setSemanticIndex
void setSemanticIndex(unsigned int value)
nkGraphics::Node
Represents a node in a scene graph.
Definition: Node.h:16
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::StreamOutputDescriptor::StreamOutputDescriptor
StreamOutputDescriptor() noexcept
nkMemory
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7