source:
trunk/packages/vizservers/nanovis/vr3d/vrTexture.cpp
@
2824
Last change on this file since 2824 was 2824, checked in by ldelgass, 13 years ago | |
---|---|
File size: 370 bytes |
Line | |
---|---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
2 | |
3 | #include <vr3d/vrTexture.h> |
4 | |
5 | vrTexture::vrTexture() : |
6 | _objectID(0), |
7 | _type(DT_FLOAT), |
8 | _colorFormat(CF_RGBA), |
9 | _internalColorFormat(CF_RGBA), |
10 | _minFilter(TF_LINEAR), |
11 | _magFilter(TF_LINEAR), |
12 | _compCount(4) |
13 | { |
14 | } |
15 | |
16 | vrTexture::~vrTexture() |
17 | { |
18 | ::glDeleteTextures(1, &_objectID); |
19 | } |
Note: See TracBrowser
for help on using the repository browser.