HDK
 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 
18 {
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 
27 {
36 
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);
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
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glcorearb.h:2540
GLenum GLuint GLsizei bufsize
Definition: glcorearb.h:1818
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2545
GEO_API const char * GEOanimationType(GEO_AnimationType type)
GEO_AnimationType
#define GEO_API
Definition: GEO_API.h:14
GEO_ViewportLOD
GEO_API const char * GEOviewportLOD(GEO_ViewportLOD type, bool label=false)
GEO_API size_t format(char *buf, size_t bufsize, const GEO_ViewportLOD &lod)
type
Definition: core.h:1059
GLint lod
Definition: glcorearb.h:2765