source: trunk/packages/vizservers/nanovis/vr3d/vrTexture.cpp @ 2096

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
RevLine 
[2096]1#include <vr3d/vrTexture.h>
2
3vrTexture::vrTexture()
[1701]4:
5  _objectID(0),
6  _type(DT_FLOAT),
7  _colorFormat(CF_RGBA),
[2096]8  _internalColorFormat(CF_RGBA),
[1701]9  _minFilter(TF_LINEAR),
[2096]10  _magFilter(TF_LINEAR),
[1701]11  _pixels(0),
[2096]12  _compCount(4)
13{
14}
15
16
17vrTexture::~vrTexture()
18{
19        ::glDeleteTextures(1, &_objectID);
20}
Note: See TracBrowser for help on using the repository browser.