OSVR-Core
RenderingTypesC.h
Go to the documentation of this file.
1 
14 /*
15 // Copyright 2015 Sensics, Inc.
16 //
17 // Licensed under the Apache License, Version 2.0 (the "License");
18 // you may not use this file except in compliance with the License.
19 // You may obtain a copy of the License at
20 //
21 // http://www.apache.org/licenses/LICENSE-2.0
22 //
23 // Unless required by applicable law or agreed to in writing, software
24 // distributed under the License is distributed on an "AS IS" BASIS,
25 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26 // See the License for the specific language governing permissions and
27 // limitations under the License.
28 */
29 
30 #ifndef INCLUDED_RenderingTypesC_h_GUID_6689A6CA_76AC_48AC_A0D0_2902BC95AC35
31 #define INCLUDED_RenderingTypesC_h_GUID_6689A6CA_76AC_48AC_A0D0_2902BC95AC35
32 
33 /* Internal Includes */
34 #include <osvr/Util/StdInt.h>
35 #include <osvr/Util/APIBaseC.h>
36 
37 /* Library/third-party includes */
38 /* none */
39 
40 /* Standard includes */
41 /* none */
42 
43 OSVR_EXTERN_C_BEGIN
44 
51 typedef uint8_t OSVR_DisplayInputCount;
52 
56 typedef int32_t OSVR_DisplayDimension;
57 
72 typedef uint32_t OSVR_ViewerCount;
73 
92 typedef uint8_t OSVR_EyeCount;
93 
108 typedef uint32_t OSVR_SurfaceCount;
109 
113 typedef int32_t OSVR_ViewportDimension;
114 
121 typedef int32_t OSVR_DistortionPriority;
122 
128 #define OSVR_DISTORTION_PRIORITY_UNAVAILABLE (-1)
129 
132 OSVR_EXTERN_C_END
133 
134 #endif
uint32_t OSVR_SurfaceCount
The integer type specifying the number of surfaces seen by a viewer&#39;s eye.
Definition: RenderingTypesC.h:108
Header wrapping the C99 standard stdint header.
int32_t OSVR_DistortionPriority
The integer type used to indicate relative priorities of a display distortion strategy.
Definition: RenderingTypesC.h:121
uint32_t OSVR_ViewerCount
The integer type specifying a number of viewers in a system.
Definition: RenderingTypesC.h:72
Header providing basic C macros for defining API headers.
uint8_t OSVR_EyeCount
The integer type specifying the number of eyes (viewpoints) of a viewer.
Definition: RenderingTypesC.h:92
uint8_t OSVR_DisplayInputCount
A count or index for a display input in a display config.
Definition: RenderingTypesC.h:51
int32_t OSVR_ViewportDimension
The integer type used in specification of size or location of a viewport.
Definition: RenderingTypesC.h:113
int32_t OSVR_DisplayDimension
The integer type used in specification of size or location of a display input, in pixels...
Definition: RenderingTypesC.h:56