19# ifdef COMPILING_DLL_SimulatedRealityDisplays
20# define SRAPI extern "C" __declspec(dllexport)
22# define SRAPI extern "C" __declspec(dllimport)
25# ifdef COMPILING_DLL_SimulatedRealityDisplays
26# error Trying to compile SimulatedRealityDisplays.dll using a non-C++ compiler! Use a C++ compiler instead!
28# define SRAPI __declspec(dllimport)
void * SRContext
Definition: admin_c.h:15
void * SR_screen
Definition: displays_admin_c.h:15
void * SR_switchableLensHint
Definition: displays_c.h:119
#define SRAPI
Definition: displays_c.h:32
void * SR_screen
Definition: displays_c.h:15
SRAPI bool isLensEnabledByPreference(SR_switchableLensHint lensHint)
SRAPI bool isLensEnabled(SR_switchableLensHint lensHint)
SRAPI const float getPhysicalSizeWidth(SR_screen screen)
Returns physical screen width in cm.
SRAPI const int getPhysicalResolutionWidth(SR_screen screen)
Returns physical resolution width of screen instance.
SRAPI void deleteSwitchableLensHint(SR_switchableLensHint lensHint)
Cleans up underlying object instances used to facilitate indicating lens switch preferance.
SRAPI const float getPhysicalSizeHeight(SR_screen screen)
Returns physical screen height in cm.
SRAPI void lensEnableHint(SR_switchableLensHint lensHint)
SRAPI SR_screen createScreen(SRContext context)
Creates a functional Screen instance.
SRAPI void lensDisableHint(SR_switchableLensHint lensHint)
SRAPI const int getResolutionHeight(SR_screen screen)
Returns resolution height of screen instance as seen by user.
SRAPI const int getPhysicalResolutionHeight(SR_screen screen)
Returns physical resolution height of screen instance.
SRAPI const float getDotPitch(SR_screen screen)
Returns distance between pixels in cm.
SRAPI SR_switchableLensHint createSwitchableLensHint(SRContext context)
Creates a functional SwitchableLensHints instance.
SRAPI const int getResolutionWidth(SR_screen screen)
Returns resolution width of screen instance as seen by user.