HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GEO_PackedTypes.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: GEO_PackedTypes.h (GEO Defered Primitive Library, C++)
7
*
8
* COMMENTS:
9
*/
10
11
#ifndef __GEO_PackedTypes__
12
#define __GEO_PackedTypes__
13
14
#include "
GEO_API.h
"
15
#include <
SYS/SYS_Types.h
>
16
17
enum
GEO_AnimationType
18
{
19
GEO_ANIMATION_INVALID
= -1,
20
GEO_ANIMATION_CONSTANT
,
// Constant animation (i.e. no animation)
21
GEO_ANIMATION_TRANSFORM
,
// Only transform is animated
22
GEO_ANIMATION_ATTRIBUTE
,
// Attribute or transform are animated
23
GEO_ANIMATION_TOPOLOGY
,
// Topology is animated (changes)
24
};
25
26
enum
GEO_ViewportLOD
27
{
28
GEO_VIEWPORT_INVALID_MODE
= -1,
29
GEO_VIEWPORT_HIDDEN
,
30
GEO_VIEWPORT_CENTROID
,
31
GEO_VIEWPORT_BOX
,
32
GEO_VIEWPORT_POINTS
,
33
GEO_VIEWPORT_FULL
,
34
GEO_VIEWPORT_SUBDIVISION
,
35
GEO_VIEWPORT_DEFORM
,
36
37
GEO_VIEWPORT_NUM_MODES
,
38
};
39
40
GEO_API
extern
const
char
*
GEOviewportLOD
(
GEO_ViewportLOD
type
,
41
bool
label
=
false
);
42
GEO_API
extern
GEO_ViewportLOD
GEOviewportLOD
(
const
char
*
type
);
43
GEO_API
extern
const
char
*
GEOanimationType
(
GEO_AnimationType
type
);
44
GEO_API
extern
GEO_AnimationType
GEOanimationType
(
const
char
*
type
);
45
46
GEO_API
size_t
format
(
char
*
buf
,
size_t
bufsize
,
const
GEO_ViewportLOD
&
lod
);
47
GEO_API
size_t
format
(
char
*
buf
,
size_t
bufsize
,
const
GEO_AnimationType
&
type
);
48
49
#endif
buf
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition:
glcorearb.h:2540
bufsize
GLenum GLuint GLsizei bufsize
Definition:
glcorearb.h:1818
label
GLuint GLsizei const GLchar * label
Definition:
glcorearb.h:2545
GEO_VIEWPORT_INVALID_MODE
Definition:
GEO_PackedTypes.h:28
GEO_ANIMATION_ATTRIBUTE
Definition:
GEO_PackedTypes.h:22
GEO_VIEWPORT_POINTS
Definition:
GEO_PackedTypes.h:32
GEO_VIEWPORT_DEFORM
Definition:
GEO_PackedTypes.h:35
GEOanimationType
GEO_API const char * GEOanimationType(GEO_AnimationType type)
GEO_VIEWPORT_FULL
Definition:
GEO_PackedTypes.h:33
GEO_VIEWPORT_CENTROID
Definition:
GEO_PackedTypes.h:30
GEO_ANIMATION_TOPOLOGY
Definition:
GEO_PackedTypes.h:23
SYS_Types.h
GEO_ANIMATION_CONSTANT
Definition:
GEO_PackedTypes.h:20
GEO_AnimationType
GEO_AnimationType
Definition:
GEO_PackedTypes.h:17
GEO_VIEWPORT_HIDDEN
Definition:
GEO_PackedTypes.h:29
GEO_API
#define GEO_API
Definition:
GEO_API.h:14
GEO_ViewportLOD
GEO_ViewportLOD
Definition:
GEO_PackedTypes.h:26
GEO_ANIMATION_TRANSFORM
Definition:
GEO_PackedTypes.h:21
GEO_API.h
GEOviewportLOD
GEO_API const char * GEOviewportLOD(GEO_ViewportLOD type, bool label=false)
GEO_ANIMATION_INVALID
Definition:
GEO_PackedTypes.h:19
format
GEO_API size_t format(char *buf, size_t bufsize, const GEO_ViewportLOD &lod)
GEO_VIEWPORT_SUBDIVISION
Definition:
GEO_PackedTypes.h:34
type
type
Definition:
core.h:1059
lod
GLint lod
Definition:
glcorearb.h:2765
GEO_VIEWPORT_BOX
Definition:
GEO_PackedTypes.h:31
GEO_VIEWPORT_NUM_MODES
Definition:
GEO_PackedTypes.h:37
GEO
GEO_PackedTypes.h
Generated on Fri Sep 20 2024 02:47:12 for HDK by
1.8.6