VR-Forces 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) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 
15 
16 #include <vrvMath/DtDataFormat.h>
17 
18 typedef unsigned int GLenum;
19 
20 namespace makVrv {
24  {
25  public:
26  // ! get the OpenGL enums given the Dt types
27  static GLenum getFormat(DtDataFormat format);
28  static GLenum getInternalFormat(DtDataFormat format);
29  static GLenum getType(DtDataFormat format);
30  static GLenum getUsage(DtUsage usage, DtCpuAccess cpuAccess);
31  static GLenum getBufferType(DtBufferType bufferType);
32 
33  // ! get the Dt types given the OpenGL enums
34  static DtBufferType toBufferType(GLenum glBufferType);
35  };
36 }
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:19
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:23
DtCpuAccess
Definition: DtCpuAccess.h:13

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)