View3D.pkg 613 B

1234567891011121314151617181920212223
  1. $#include "View3D.h"
  2. class View3D : public Window
  3. {
  4. View3D(Context* context);
  5. ~View3D();
  6. void SetView(Scene* scene, Camera* camera);
  7. void SetFormat(unsigned format);
  8. void SetAutoUpdate(bool enable);
  9. void QueueUpdate();
  10. unsigned GetFormat() const;
  11. bool GetAutoUpdate() const;
  12. Scene* GetScene() const;
  13. Node* GetCameraNode() const;
  14. Texture2D* GetRenderTexture() const;
  15. Texture2D* GetDepthTexture() const;
  16. Viewport* GetViewport() const;
  17. tolua_property__get_set unsigned format;
  18. tolua_property__get_set bool autoUpdate;
  19. };