Varjo Native SDK
Varjo_d3d12.h File Reference

Go to the source code of this file.

Functions

struct varjo_Texture varjo_FromD3D12Texture (struct ID3D12Resource *texture)
 Converts a Direct3D 12 texture to varjo_Texture. More...
 
struct ID3D12Resource * varjo_ToD3D12Texture (struct varjo_Texture texture)
 Converts a Varjo texture to Direct3D 12 texture. More...
 

Function Documentation

◆ varjo_FromD3D12Texture()

struct varjo_Texture varjo_FromD3D12Texture ( struct ID3D12Resource *  texture)

Converts a Direct3D 12 texture to varjo_Texture.

◆ varjo_ToD3D12Texture()

struct ID3D12Resource* varjo_ToD3D12Texture ( struct varjo_Texture  texture)

Converts a Varjo texture to Direct3D 12 texture.