You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rendertask.h 459B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Describes a render task, drawable + camera + target
  3. */
  4. #pragma once
  5. namespace vtk {
  6. //forward declaration
  7. class Drawable;
  8. class Camera;
  9. class RenderTarget;
  10. class RenderTask {
  11. public:
  12. RenderTask(Drawable& drawable, Camera& camera, RenderTarget& renderTarget);
  13. void draw();
  14. Drawable& getDrawable();
  15. Camera& getCamera();
  16. RenderTarget& getRenderTarget();
  17. protected:
  18. Drawable& mDrawable;
  19. Camera& mCamera;
  20. RenderTarget& mRenderTarget;
  21. };
  22. }