VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOpenGlMappings.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 
16 
17 typedef unsigned int GLenum;
18 
19 namespace makVrv {
23  {
24  public:
25  // ! get the OpenGL enums given the Dt types
26  static GLenum getFormat(DtDataFormat format);
27  static GLenum getInternalFormat(DtDataFormat format);
28  static GLenum getType(DtDataFormat format);
29  static GLenum getUsage(DtUsage usage, DtCpuAccess cpuAccess);
30  static GLenum getBufferType(DtBufferType bufferType);
31 
32  // ! get the Dt types given the OpenGL enums
33  static DtBufferType toBufferType(GLenum glBufferType);
34  };
35 }
Dll export defines.
DtBufferType
An abstract buffer type (vertex buffer, index buffer, etc) Used, for example, to create DtGlBuffers o...
Definition: DtBufferType.h:15
Buffer Usage enums.
DtUsage
Definition: DtUsage.h:13
Enumerations for cpu access required by textures/buffers.
Buffer Type enums.
unsigned int GLenum
Definition: DtGlTextureBufferObject.h:18
Enumerations for various types of texture/buffer formats.
DtDataFormat
Definition: DtDataFormat.h:15
#define DT_DLL_VRVGRAPHICSUTILS
Definition: vrvGraphicsUtils.h:18
OpenGL mappings.
Definition: DtOpenGlMappings.h:22
DtCpuAccess
Definition: DtCpuAccess.h:13

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)