VR-Forces Developer's Guide
Home
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvGraphicsUtils
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
11
#include <
vrvGraphicsUtils/vrvGraphicsUtils.h
>
12
#include <
vrvGraphicsUtils/DtUsage.h
>
13
#include <
vrvGraphicsUtils/DtCpuAccess.h
>
14
#include <
vrvGraphicsUtils/DtBufferType.h
>
15
16
#include <
vrvMath/DtDataFormat.h
>
17
18
typedef
unsigned
int
GLenum
;
19
20
namespace
makVrv {
23
class
DT_DLL_VRVGRAPHICSUTILS
DtOpenGlMappings
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
}
vrvGraphicsUtils.h
Dll export defines.
makVrv::DtBufferType
DtBufferType
An abstract buffer type (vertex buffer, index buffer, etc) Used, for example, to create DtGlBuffers o...
Definition:
DtBufferType.h:15
DtUsage.h
Buffer Usage enums.
makVrv::DtUsage
DtUsage
Definition:
DtUsage.h:13
DtCpuAccess.h
Enumerations for cpu access required by textures/buffers.
DtBufferType.h
Buffer Type enums.
GLenum
unsigned int GLenum
Definition:
DtGlTextureBufferObject.h:19
DtDataFormat.h
Enumerations for various types of texture/buffer formats.
makVrv::DtDataFormat
DtDataFormat
Definition:
DtDataFormat.h:15
DT_DLL_VRVGRAPHICSUTILS
#define DT_DLL_VRVGRAPHICSUTILS
Definition:
vrvGraphicsUtils.h:18
makVrv::DtOpenGlMappings
OpenGL mappings.
Definition:
DtOpenGlMappings.h:23
makVrv::DtCpuAccess
DtCpuAccess
Definition:
DtCpuAccess.h:13
Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (
www.mak.com
)