9# define WIN32_LEAN_AND_MEAN
#define HWND
Definition: IWeaverBase.h:12
Interface for objects that can be destroyed.
Definition: IWeaverBase.h:24
virtual void destroy()=0
Deletes this object. All future references will be invalid.
Interface for querying interfaces with a specific type.
Definition: IWeaverBase.h:38
T * query()
Query the interface from the running Runtime. Returns nullptr when this interface is not available.
Definition: IWeaverBase.h:47
virtual void * queryInterface(std::type_index type)=0
Weaver base class for all graphics APIs.
Definition: IWeaverBase.h:57
virtual void enableLateLatching(bool enable)=0
Enables late latching. Note that late latching requires applications to call weave() once per frame....
virtual void setLatency(uint64_t latency)=0
Set the latency to match the expected duration of the full rendering pipeline.
virtual void getPredictedEyePositions(float *left, float *right)=0
Gets the tracked eye positions. Intended to be used by virtual cameras Note: the latency set by setLa...
IWeaverBase1(IWeaverBase1 &&)=delete
IWeaverBase1 & operator=(IWeaverBase1 &&)=delete
virtual void setShaderSRGBConversion(bool read, bool write)=0
Sets whether to apply shader sRGB/Linear color space conversions during weaving. When input is alread...
virtual void weave()=0
Performs weaving from the provided stereo texture to the current render-target using currently setup ...
virtual uint64_t getLatency() const =0
Get the latency that is used by the weaver. If setLatency has been called, the value set by that func...
virtual void setLatencyInFrames(uint64_t latencyInFrames)=0
Set the latency to match the expected duration of the full rendering pipeline in number of frames....
IWeaverBase1 & operator=(const IWeaverBase1 &)=delete
IWeaverBase1(const IWeaverBase1 &)=delete
virtual void setWindowHandle(HWND handle)=0
Sets the new window handle of the window that will present the backbuffer. Note: the backbuffer size ...
virtual ~IWeaverBase1()=default
virtual bool isLateLatchingEnabled() const =0
Determines if late latching is currently enabled.
Weaver base class for all graphics APIs.
Definition: IWeaverBase.h:161
IWeaverBase2(IWeaverBase2 &&)=delete
IWeaverBase2(const IWeaverBase2 &)=delete
IWeaverBase2 & operator=(const IWeaverBase2 &)=delete
virtual void getDefaultViewingPosition(float position_mm[3]) const =0
Retrieves the default viewing position in 3D display coordinates.
virtual ~IWeaverBase2()=default
IWeaverBase2 & operator=(IWeaverBase2 &&)=delete
Namespace containing all C++ Simulated Reality classes.
Definition: srconfiguration.h:20