9 #if defined __cplusplus 69 #if defined __cplusplus 73 #if defined DIRECTX_MATH_VERSION 77 static DirectX::XMMATRIX varjo_DoubleArrayToXMMatrix(
double* m)
79 return DirectX::XMMATRIX{
struct ID3D11Texture2D * varjo_ToD3D11Texture(varjo_Texture texture)
Converts a Varjo texture to Direct3D 11 texture.
void varjo_D3D11ShutDown(struct varjo_Session *session)
Closes the Direct3D connection.
Device Luid.
Definition: Varjo_types_d3d11.h:16
#define VARJO_DEPRECATED_API
Definition: Varjo_export.h:29
struct varjo_GraphicsInfo * varjo_D3D11Init(struct varjo_Session *session, struct ID3D11Device *dev, varjo_TextureFormat format, struct varjo_SwapChainConfig *config)
Sets up the Direct3D device that the SDK will use for texture communication.
struct varjo_Luid varjo_D3D11GetLuid(struct varjo_Session *session)
Retrieves LUID of the device which is used by compositor.
int64_t varjo_TextureFormat
Definition: Varjo_types.h:136
API-agnostic texture handle.
Definition: Varjo_types.h:334
General graphics information.
Definition: Varjo_types.h:320
VARJO_DEPRECATED_API struct ID3D11Texture2D * varjo_ToD3D11texture(varjo_Texture texture)
Converts a Varjo texture to Direct3D 11 texture.
struct varjo_Texture varjo_FromD3D11Texture(ID3D11Texture2D *texture)
Converts a Direct3D 11 texture to varjo_Texture.
Config for swap chain texture size and count.
Definition: Varjo_types.h:288