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

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

A few further cleanups on vr3d

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