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

Last change on this file since 2825 was 2825, checked in by ldelgass, 12 years ago

A few further cleanups on vr3d

File size: 368 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2
3#include <vr3d/vrTexture.h>
4
5vrTexture::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
16vrTexture::~vrTexture()
17{
18    glDeleteTextures(1, &_objectID);
19}
Note: See TracBrowser for help on using the repository browser.