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
IMX_Types.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: IMX_VDB.h
7
*
8
* COMMENTS:
9
* Common IMX types
10
*/
11
12
#ifndef __IMX_Types_h__
13
#define __IMX_Types_h__
14
15
#include "
IMX_API.h
"
16
#include <cstddef>
17
18
// The following enums and the stat structure must exactly match the definitions
19
// in the imx.h OpenCL header.
20
/// Controls returned values for coordinates that fall outside the image.
21
enum class
IMX_BorderType
22
{
23
IMX_INVALID
= -1,
24
IMX_CONSTANT
= 0,
25
IMX_CLAMP
,
26
IMX_MIRROR
,
27
IMX_WRAP
28
};
29
IMX_API
size_t
format
(
char
*
buffer
,
size_t
buffer_size,
const
IMX_BorderType
&
v
);
30
31
IMX_API
const
char
*
IMXborderType
(
IMX_BorderType
t
);
32
IMX_API
IMX_BorderType
IMXborderType
(
const
char
*
n
);
33
34
enum class
IMX_TypeInfo
35
{
36
IMX_INVALID
= -1,
37
IMX_NONE
= 0,
38
IMX_COLOR
,
39
IMX_POSITION
,
40
IMX_VECTOR
,
41
IMX_NORMAL
,
42
IMX_OFFSETNORMAL
,
43
IMX_TEXTURE_COORD
,
44
IMX_ID
,
45
IMX_MASK
,
46
IMX_SDF
,
47
IMX_HEIGHT
48
};
49
IMX_API
size_t
format
(
char
*
buffer
,
size_t
buffer_size,
const
IMX_TypeInfo
&
v
);
50
51
IMX_API
const
char
*
IMXtypeInfo
(
IMX_TypeInfo
t
);
52
IMX_API
IMX_TypeInfo
IMXtypeInfo
(
const
char
*
n
);
53
54
enum class
IMX_Projection
55
{
56
IMX_INVALID
= -1,
57
IMX_ORTHOGRAPHIC
= 0,
58
IMX_PERSPECTIVE
59
};
60
IMX_API
size_t
format
(
char
*
buffer
,
size_t
buffer_size,
const
IMX_Projection
&
v
);
61
62
IMX_API
const
char
*
IMXprojection
(
IMX_Projection
t
);
63
IMX_API
IMX_Projection
IMXprojection
(
const
char
*
n
);
64
65
#endif
IMX_TypeInfo::IMX_HEIGHT
IMX_BorderType::IMX_CLAMP
IMX_TypeInfo::IMX_ID
IMX_TypeInfo::IMX_COLOR
IMX_API.h
v
const GLdouble * v
Definition:
glcorearb.h:837
IMX_TypeInfo::IMX_SDF
IMX_TypeInfo
IMX_TypeInfo
Definition:
IMX_Types.h:34
IMX_Projection
IMX_Projection
Definition:
IMX_Types.h:54
IMX_BorderType::IMX_WRAP
IMXprojection
IMX_API const char * IMXprojection(IMX_Projection t)
IMX_TypeInfo::IMX_NONE
format
IMX_API size_t format(char *buffer, size_t buffer_size, const IMX_BorderType &v)
IMX_TypeInfo::IMX_MASK
IMX_BorderType::IMX_INVALID
IMX_TypeInfo::IMX_VECTOR
buffer
GLuint buffer
Definition:
glcorearb.h:660
n
GLdouble n
Definition:
glcorearb.h:2008
IMX_BorderType::IMX_CONSTANT
IMX_TypeInfo::IMX_NORMAL
IMX_Projection::IMX_PERSPECTIVE
t
GLdouble t
Definition:
glad.h:2397
IMX_TypeInfo::IMX_OFFSETNORMAL
IMX_TypeInfo::IMX_TEXTURE_COORD
IMX_BorderType
IMX_BorderType
Controls returned values for coordinates that fall outside the image.
Definition:
IMX_Types.h:21
IMX_API
#define IMX_API
Definition:
IMX_API.h:8
IMXtypeInfo
IMX_API const char * IMXtypeInfo(IMX_TypeInfo t)
IMXborderType
IMX_API const char * IMXborderType(IMX_BorderType t)
IMX_Projection::IMX_ORTHOGRAPHIC
IMX_BorderType::IMX_MIRROR
IMX_TypeInfo::IMX_POSITION
IMX
IMX_Types.h
Generated on Thu Jan 15 2026 02:34:07 for HDK by
1.8.6