VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTextureObject.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
7 #pragma once
8 
10 
11 namespace makVrv
12 {
16  {
17  public:
19  ~DtTextureObject();
20 
22  {
28  ComponentTypes_End
29  };
30 
34  void setType(unsigned int count, ComponentTypes type);
35 
36  void resize(int w,int h);
37 
38  void bind();
39  void unbind();
40 
41  unsigned int id() const;
42 
43  protected:
44  unsigned int myId;
46  unsigned int myInternalFormat;
47  unsigned int myPixelFormat;
48  };
49 }
unsigned int myPixelFormat
Definition: DtTextureObject.h:47
Definition: DtTextureObject.h:26
Definition: DtTextureObject.h:24
Definition: DtTextureObject.h:23
An object which wraps a OpenGL texture object.
Definition: DtTextureObject.h:15
Definition: DtTextureObject.h:27
unsigned int myInternalFormat
Definition: DtTextureObject.h:46
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
binderNoArgs< _Fn > bind(const _Fn &_Func, const _Ty &_Left)
Definition: DtSTLUtilities.h:76
unsigned int myId
Definition: DtTextureObject.h:44
bool myBoundFlag
Definition: DtTextureObject.h:45
Definition: DtTextureObject.h:25
ComponentTypes
Definition: DtTextureObject.h:21

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)