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

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

Add emacs mode magic line in preparation for indentation cleanup

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