Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
Macros | Typedefs | Functions
displays_c.h File Reference
#include "sr/core_c.h"
Include dependency graph for displays_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...
 

Macro Definition Documentation

◆ SRAPI

#define SRAPI

Typedef Documentation

◆ SR_screen

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.

◆ SR_switchableLensHint

typedef void* SR_switchableLensHint

Function Documentation

◆ isLensEnabled()

SRAPI bool isLensEnabled ( SR_switchableLensHint  lensHint)

◆ isLensEnabledByPreference()

SRAPI bool isLensEnabledByPreference ( SR_switchableLensHint  lensHint)