VIZ++ Class: OpenGLIView

 VIZ++ Class Library  VIZ++ Samples  VIZ++ ClassTree 

Source code

/*
 * OpenGLIView.h 
 * Copyright (c) 2015 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. 
 */


//2017/02/10

#pragma once

#include <viz++/Object.h>
#include <viz++/Exception.h>
#include <viz++/opengl/OpenGLObject.h>
//#include <viz++/opengl/OpenGLApplet.h>

namespace VIZ {

class OpenGLIView :public OpenGLObject {

public:
  OpenGLIView()
  { 
  }

public:
  //Creates a window and its associated context. 
  //OpenGLIWindow(OpenGLApplication& applet, int width, int height, const char *title, GLFWmonitor* monitor = NULL, GLFWwindow* share = NULL) = 0;
  
public:
  virtual void initialize() = 0;
  
  virtual int shouldClose() = 0;
  
  virtual void reshape() = 0;
  
  virtual void idle() = 0;
  
  virtual void display() = 0;
  
  virtual void swapBuffers() = 0;

  virtual HWND getHwnd()   = 0;
  
  virtual void postRenderRequest() = 0;
}; 
}

Last modified: 10 Feb 2017

Copyright (c) 2009-2017 Antillia.com ALL RIGHTS RESERVED.