17# ifdef COMPILING_DLL_SimulatedRealityDirectX
18# define DIMENCOSR_API __declspec(dllexport)
20# define DIMENCOSR_API __declspec(dllimport)
41#pragma warning(suppress: 4251)
77 bool canWeave(
unsigned int width,
unsigned int height);
88 bool canWeave(
unsigned int width,
unsigned int height,
unsigned int xOffset,
unsigned int yOffset);
96 void weave(
unsigned int width,
unsigned int height);
106 void weave(
unsigned int width,
unsigned int height,
unsigned int xOffset,
unsigned int yOffset);
Definition: dx10weaver.h:33
ID3D10RenderTargetView * getFrameBuffer()
Returns the buffer that will be used to create a weaved image. This buffer expects a side-by-side ima...
void setInputFrameBuffer(ID3D10ShaderResourceView *frameBuffer)
Sets the buffer that will be used to create a weaved image. This will release the internally created ...
void weave(unsigned int width, unsigned int height, unsigned int xOffset, unsigned int yOffset)
Can be called to render a weaved image of a certain size to the currently bound framebuffer A framebu...
std::unique_ptr< Impl > pimpl
Definition: dx10weaver.h:35
void setWindowHandle(HWND handle)
Sets the window handle of the application window.
bool canWeave(unsigned int width, unsigned int height, unsigned int xOffset, unsigned int yOffset)
Used to determine if software weaving is possible for certain size and visibility to the currently bo...
void weave(unsigned int width, unsigned int height)
Can be called to render a weaved image of a certain size to the currently bound framebuffer A framebu...
bool canWeave(unsigned int width, unsigned int height)
Used to determine if software weaving is possible for certain size and visibility to the currently bo...
Definition: dx10weaver.h:109
~DX10Weaver()
Handles proper destruction of all weaver related classes and buffers.
DX10Weaver(SR::SRContext &context, ID3D10Device *device, unsigned int width, unsigned int height, HWND window)
Constructs a class to be used for weaving an input image of a certain size.
Definition: dx10weaver.h:127
void setLatencyInFrames(uint64_t latencyInFrames)
Set the latency to match the expected duration of the full rendering pipeline in number of frames....
void setLatency(uint64_t latency)
Set the latency to match the expected duration of the full rendering pipeline.
~PredictingDX10Weaver()
Handles proper destruction of all weaver related classes and buffers.
PredictingDX10Weaver(SR::SRContext &context, ID3D10Device *device, unsigned int width, unsigned int height, HWND window)
Constructs a class to be used for weaving an input image of a certain size.
Maintains WorldObject and Sense objects during the application lifetime.
Definition: srcontext.h:80
#define DIMENCOSR_API
Definition: dx10weaver.h:23
Namespace containing all C++ Simulated Reality classes.
Definition: srconfiguration.h:25