OSVR-Core
|
Bit flags for specifying matrix options. More...
Typedefs | |
typedef enum OSVR_MatrixOrderingFlags | OSVR_MatrixOrderingFlags |
Flag bit controlling output memory order. | |
typedef enum OSVR_MatrixVectorFlags | OSVR_MatrixVectorFlags |
Flag bit controlling expected input to matrices. More... | |
typedef enum OSVR_ProjectionMatrixInputFlags | OSVR_ProjectionMatrixInputFlags |
Flag bit to indicate coordinate system input to projection matrix. | |
typedef enum OSVR_ProjectionMatrixZFlags | OSVR_ProjectionMatrixZFlags |
Flag bit to indicate the desired post-projection Z value convention. | |
Enumerations | |
enum | OSVR_MatrixOrderingFlags { OSVR_MATRIX_COLMAJOR = 0x0, OSVR_MATRIX_ROWMAJOR = OSVR_MATRIX_MASK_ROWMAJOR } |
Flag bit controlling output memory order. More... | |
enum | OSVR_MatrixVectorFlags { OSVR_MATRIX_COLVECTORS = 0x0, OSVR_MATRIX_ROWVECTORS = OSVR_MATRIX_MASK_ROWVECTORS } |
Flag bit controlling expected input to matrices. More... | |
enum | OSVR_ProjectionMatrixInputFlags { OSVR_MATRIX_RHINPUT = 0x0, OSVR_MATRIX_LHINPUT = OSVR_MATRIX_MASK_LHINPUT } |
Flag bit to indicate coordinate system input to projection matrix. More... | |
enum | OSVR_ProjectionMatrixZFlags { OSVR_MATRIX_SIGNEDZ = 0x0, OSVR_MATRIX_UNSIGNEDZ = OSVR_MATRIX_MASK_UNSIGNEDZ } |
Flag bit to indicate the desired post-projection Z value convention. More... | |
Bit flags for specifying matrix options.
Only one option may be specified per enum, with all the specified options combined with bitwise-or |
.
Most methods that take matrix flags only obey OSVR_MatrixOrderingFlags and OSVR_MatrixVectorFlags - the flags that affect memory order. The remaining flags are for use with projection matrix generation API methods.
typedef enum OSVR_MatrixVectorFlags OSVR_MatrixVectorFlags |
Flag bit controlling expected input to matrices.
(Related to OSVR_MatrixOrderingFlags - setting one to non-default results in an output change, but setting both to non-default results in effectively no change in the output. If this blows your mind, just ignore this aside and carry on.)
Flag bit controlling expected input to matrices.
(Related to OSVR_MatrixOrderingFlags - setting one to non-default results in an output change, but setting both to non-default results in effectively no change in the output. If this blows your mind, just ignore this aside and carry on.)
Enumerator | |
---|---|
OSVR_MATRIX_COLVECTORS | Matrix transforms column vectors (default) |
OSVR_MATRIX_ROWVECTORS | Matrix transforms row vectors. |