#include <TextureDisplay.h>
Public Member Functions | |
TextureDisplay (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxT("TestGLCanvas")) | |
~TextureDisplay (void) | |
void | OnPaint (wxPaintEvent &event) |
void | OnSize (wxSizeEvent &event) |
void | OnEraseBackground (wxEraseEvent &event) |
DECLARE_EVENT_TABLE () | |
Private Attributes | |
FILE * | input |
GLuint | texture |
GLuint | pbo |
bool | init |
TextureDisplay::TextureDisplay | ( | wxWindow * | parent, | |
wxWindowID | id = wxID_ANY , |
|||
const wxPoint & | pos = wxDefaultPosition , |
|||
const wxSize & | size = wxDefaultSize , |
|||
long | style = 0 , |
|||
const wxString & | name = wxT("TestGLCanvas") | |||
) |
TextureDisplay::~TextureDisplay | ( | void | ) |
TextureDisplay::DECLARE_EVENT_TABLE | ( | ) |
void TextureDisplay::OnEraseBackground | ( | wxEraseEvent & | event | ) |
void TextureDisplay::OnPaint | ( | wxPaintEvent & | event | ) |
void TextureDisplay::OnSize | ( | wxSizeEvent & | event | ) |
bool TextureDisplay::init [private] |
FILE* TextureDisplay::input [private] |
GLuint TextureDisplay::pbo [private] |
GLuint TextureDisplay::texture [private] |