-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathxxGraphicGLES3.h
29 lines (24 loc) · 1.23 KB
/
xxGraphicGLES3.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
//==============================================================================
// xxGraphic : OpenGL ES 3.0 Header
//
// Copyright (c) 2019-2025 TAiGA
// https://github.com/metarutaiga/xxGraphic
//==============================================================================
#pragma once
#include "xxGraphic.h"
xxAPI uint64_t xxCreateInstanceGLES3();
xxInline char const* xxGetInstanceNameGLES3() { return "OpenGL ES 3.0"; }
#ifdef GL_ES_VERSION_3_0
//==============================================================================
// Instance
//==============================================================================
uint64_t xxCreateInstanceGLES3();
//==============================================================================
// Buffer
//==============================================================================
uint64_t xxCreateIndexBufferGLES3(uint64_t device, int size, int bits);
uint64_t xxCreateVertexBufferGLES3(uint64_t device, int size, uint64_t vertexAttribute);
void* xxMapBufferGLES3(uint64_t device, uint64_t buffer);
void xxUnmapBufferGLES3(uint64_t device, uint64_t buffer);
//==============================================================================
#endif