-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathxxGraphicD3D11On12.h
36 lines (31 loc) · 1.61 KB
/
xxGraphicD3D11On12.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//==============================================================================
// xxGraphic : Direct3D 11On12 Header
//
// Copyright (c) 2019-2024 TAiGA
// https://github.com/metarutaiga/xxGraphic
//==============================================================================
#pragma once
#include "xxGraphic.h"
xxAPI uint64_t xxCreateInstanceD3D11On12();
xxInline char const* xxGetInstanceNameD3D11On12() { return "Direct3D 11On12"; }
#ifdef __d3d11on12_h__
//==============================================================================
// Instance
//==============================================================================
uint64_t xxCreateInstanceD3D11On12();
void xxDestroyInstanceD3D11On12(uint64_t instance);
//==============================================================================
// Device
//==============================================================================
uint64_t xxCreateDeviceD3D11On12(uint64_t instance);
void xxDestroyDeviceD3D11On12(uint64_t device);
//==============================================================================
// Swapchain
//==============================================================================
void xxPresentSwapchainD3D11On12(uint64_t swapchain);
//==============================================================================
// Command Buffer
//==============================================================================
uint64_t xxGetCommandBufferD3D11On12(uint64_t device, uint64_t swapchain);
//==============================================================================
#endif