VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvGraphics
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
9
#include <
vrvGraphics/vrvGraphics.h
>
10
11
namespace
makVrv
12
{
16
class
DT_DLL_VRVGRAPHICS
DtFrameBufferObject
17
{
18
public
:
19
20
DtFrameBufferObject
(
unsigned
int
width,
unsigned
int
height,
const
char
* name);
21
~
DtFrameBufferObject
();
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
:
39
std::string
myName
;
40
bool
myBoundFlag
;
41
unsigned
int
myFrameBuffer
;
42
unsigned
int
myDepthBuffer
;
43
};
44
}
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)