draw commands

This commit is contained in:
Gregory Wells
2025-08-19 08:50:00 -04:00
parent 55605b6d5f
commit 50d8a669b3
3 changed files with 22 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include "core/src/buffers/gryphn_buffer.h"
#include "glad/glad.h"
#include "utils/gryphn_cpp_function.h"
typedef struct gnPlatformBuffer_t {
GLuint id;
@@ -13,3 +14,6 @@ void openglBufferSubData(gnBufferHandle buffer, size_t offset, size_t dataSize,
void* openglMapBuffer(gnBufferHandle buffer);
void openglUnmapBuffer(gnBufferHandle buffer);
void openglDestroyBuffer(gnBufferHandle buffer);
GN_CPP_FUNCTION GLenum gnBufferTypeToGLEnum(gnBufferType type);