VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtFrameBufferObject.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
7 #pragma once
8 
10 
11 namespace makVrv
12 {
17  {
18  public:
19 
20  DtFrameBufferObject(unsigned int width, unsigned int height);
22 
24  void resize(unsigned int width, unsigned int height);
25 
27  void attachTexture2D(unsigned int textureId);
28 
30  bool valid();
31 
33  void bind();
34 
36  void unbind();
37 
38  protected:
40  unsigned int myFrameBuffer;
41  unsigned int myDepthBuffer;
42  };
43 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)