VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvGraphics
DtTextureObject.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2009 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: $ $Revision: $ $State: $
7
******************************************************************************/
8
10
#pragma once
11
12
#include <
vrvGraphics/vrvGraphics.h
>
13
14
namespace
makVrv
15
{
18
class
DT_DLL_VRVGRAPHICS
DtTextureObject
19
{
20
public
:
21
DtTextureObject
();
22
~
DtTextureObject
();
23
24
enum
ComponentTypes
25
{
26
ComponentType_int8
,
27
ComponentType_int16
,
28
ComponentType_int32
,
29
ComponentType_float16
,
30
ComponentType_float32
,
31
ComponentTypes_End
32
};
33
37
void
setType(
unsigned
int
count, ComponentTypes type);
38
39
void
resize(
int
w,
int
h);
40
41
void
bind
();
42
void
unbind();
43
44
unsigned
int
id()
const
;
45
46
protected
:
47
unsigned
int
myId
;
48
bool
myBoundFlag
;
49
unsigned
int
myInternalFormat
;
50
unsigned
int
myPixelFormat
;
51
};
52
}
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)