API Documentation
RaytracingPass.h
1 // RaytracingPass.h
3 //
5 
6 namespace nkGraphics
7 {
14  class RaytracingPass : public Pass
15  {
16  public :
17 
21  RenderQueue* getRq () const ;
29  unsigned int getMaxTraceRecursionDepth () const ;
33  unsigned int getWidth () const ;
37  unsigned int getHeight () const ;
41  unsigned int getDepth () const ;
42 
51  virtual void setRq (RenderQueue* value) ;
57  virtual void setRaygenMissShader (Shader* shader) ;
66  virtual void setMaxTraceRecursionDepth (unsigned int value) ;
72  void setWidth (unsigned int value) ;
78  void setHeight (unsigned int value) ;
84  void setDepth (unsigned int value) ;
85 
91  virtual void exportClassToTree (nkExport::Node* rootNode) override ;
97  virtual void importClassFromTree (nkExport::Node* rootNode) override ;
98  } ;
99 }
nkGraphics::RaytracingPass::setHeight
void setHeight(unsigned int value)
nkGraphics::RaytracingPass::getDepth
unsigned int getDepth() const
nkGraphics::RaytracingPass::getHeight
unsigned int getHeight() const
nkGraphics::RenderQueue
A render queue, where all items that have to be rendered are queued.
Definition: RenderQueue.h:17
nkGraphics::RaytracingPass::setRq
virtual void setRq(RenderQueue *value)
nkGraphics::RaytracingPass::importClassFromTree
virtual void importClassFromTree(nkExport::Node *rootNode) override
nkGraphics::RaytracingPass::setDepth
void setDepth(unsigned int value)
nkGraphics::Shader
A shader class, feeding data to a Program.
Definition: Shader.h:16
nkGraphics::RaytracingPass::exportClassToTree
virtual void exportClassToTree(nkExport::Node *rootNode) override
nkExport::Node
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
nkGraphics::RaytracingPass::setMaxTraceRecursionDepth
virtual void setMaxTraceRecursionDepth(unsigned int value)
nkGraphics::Pass
The base for a pass within a TargetOperations.
Definition: Pass.h:15
nkGraphics::RaytracingPass::getMaxTraceRecursionDepth
unsigned int getMaxTraceRecursionDepth() const
nkGraphics::RaytracingPass::getRq
RenderQueue * getRq() const
nkGraphics::RaytracingPass
A raytracing pass. Dispatches rays, using hardware acceleration.
Definition: RaytracingPass.h:15
nkGraphics::RaytracingPass::setRaygenMissShader
virtual void setRaygenMissShader(Shader *shader)
nkGraphics::RaytracingPass::setWidth
void setWidth(unsigned int value)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::RaytracingPass::getWidth
unsigned int getWidth() const
nkGraphics::RaytracingPass::getRaygenMissShader
Shader * getRaygenMissShader() const