VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtPixelBufferObject.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
7 
8 #pragma once
9 
11 
12 namespace makVrv
13 {
14 
19  {
20  public:
21 
24 
26  void downloadFromTexture(unsigned int texture, int w, int h);
27 
32  void getData(void* data);
33 
35  unsigned int bufferSize() const;
36 
37  protected:
38  unsigned int myBufferObject;
39  unsigned int myBufferSize;
40  };
41 }
An object which wraps an OpenGL pixel buffer object and allows for asynchronous downloads of texture ...
Definition: DtPixelBufferObject.h:18
unsigned int myBufferSize
Definition: DtPixelBufferObject.h:39
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
unsigned int myBufferObject
Definition: DtPixelBufferObject.h:38

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)