Varjo Native SDK
Varjo_d3d12.h
Go to the documentation of this file.
1
// Copyright 2020 Varjo Technologies Oy. All rights reserved.
2
3
#ifndef VARJO_D3D12_H
4
#define VARJO_D3D12_H
5
6
#include <d3d12.h>
7
8
#if defined __cplusplus
9
extern
"C"
{
10
#endif
11
15
VARJO_API
struct
varjo_Texture
varjo_FromD3D12Texture
(struct ID3D12Resource* texture);
16
20
VARJO_API
struct
ID3D12Resource*
varjo_ToD3D12Texture
(
struct
varjo_Texture
texture);
21
22
#if defined __cplusplus
23
}
24
#endif
25
26
#endif
varjo_ToD3D12Texture
struct ID3D12Resource * varjo_ToD3D12Texture(struct varjo_Texture texture)
Converts a Varjo texture to Direct3D 12 texture.
varjo_FromD3D12Texture
struct varjo_Texture varjo_FromD3D12Texture(struct ID3D12Resource *texture)
Converts a Direct3D 12 texture to varjo_Texture.
varjo_Texture
API-agnostic texture handle.
Definition:
Varjo_types.h:459
include
Varjo_d3d12.h
Generated by
1.8.18