VR-Vantage API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Tutorials
File List
File Members
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
}
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)