Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
|
#include "sr/core_c.h"
Go to the source code of this file.
Macros | |
#define | SRAPI |
Typedefs | |
typedef void * | SR_screen |
typedef void * | SR_switchableLensHint |
Functions | |
SRAPI SR_screen | createScreen (SRContext context) |
Creates a functional Screen instance. More... | |
SRAPI const int | getResolutionHeight (SR_screen screen) |
Returns resolution height of screen instance as seen by user. More... | |
SRAPI const int | getResolutionWidth (SR_screen screen) |
Returns resolution width of screen instance as seen by user. More... | |
SRAPI const int | getPhysicalResolutionHeight (SR_screen screen) |
Returns physical resolution height of screen instance. More... | |
SRAPI const int | getPhysicalResolutionWidth (SR_screen screen) |
Returns physical resolution width of screen instance. More... | |
SRAPI const float | getPhysicalSizeHeight (SR_screen screen) |
Returns physical screen height in cm. More... | |
SRAPI const float | getPhysicalSizeWidth (SR_screen screen) |
Returns physical screen width in cm. More... | |
SRAPI const float | getDotPitch (SR_screen screen) |
Returns distance between pixels in cm. More... | |
SRAPI SR_switchableLensHint | createSwitchableLensHint (SRContext context) |
Creates a functional SwitchableLensHints instance. More... | |
SRAPI bool | isLensEnabled (SR_switchableLensHint lensHint) |
SRAPI bool | isLensEnabledByPreference (SR_switchableLensHint lensHint) |
SRAPI void | lensEnableHint (SR_switchableLensHint lensHint) |
SRAPI void | lensDisableHint (SR_switchableLensHint lensHint) |
SRAPI void | deleteSwitchableLensHint (SR_switchableLensHint lensHint) |
Cleans up underlying object instances used to facilitate indicating lens switch preferance. More... | |
#define SRAPI |
typedef void* SR_screen |
Copyright (C) 2022 Dimenco
This software has been provided under the Dimenco EULA. (End User License Agreement) You can find the agreement at https://www.dimenco.eu/eula
This source code is considered Protected Code under the definitions of the EULA.
typedef void* SR_switchableLensHint |
SRAPI bool isLensEnabled | ( | SR_switchableLensHint | lensHint | ) |
SRAPI bool isLensEnabledByPreference | ( | SR_switchableLensHint | lensHint | ) |