Last change
on this file since 2096 was
2096,
checked in by ldelgass, 14 years ago
|
Normalize line endings, set eol-style to native on *.cpp, *.h files
|
File size:
303 bytes
|
Line | |
---|
1 | #include <vr3d/vrTexture.h> |
---|
2 | |
---|
3 | vrTexture::vrTexture() |
---|
4 | : |
---|
5 | _objectID(0), |
---|
6 | _type(DT_FLOAT), |
---|
7 | _colorFormat(CF_RGBA), |
---|
8 | _internalColorFormat(CF_RGBA), |
---|
9 | _minFilter(TF_LINEAR), |
---|
10 | _magFilter(TF_LINEAR), |
---|
11 | _pixels(0), |
---|
12 | _compCount(4) |
---|
13 | { |
---|
14 | } |
---|
15 | |
---|
16 | |
---|
17 | vrTexture::~vrTexture() |
---|
18 | { |
---|
19 | ::glDeleteTextures(1, &_objectID); |
---|
20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.