write the functions for the command pool/buffers
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#include "opengl_command_buffer.h"
|
||||
|
||||
gnReturnCode openglCommandPoolAllocateCommandBuffers(gnCommandBufferHandle* commandBuffers, uint32_t count, gnCommandPoolHandle pool) {
|
||||
|
||||
return GN_SUCCESS;
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
#include "core/src/command/command_buffer/gryphn_command_buffer.h"
|
||||
|
||||
typedef struct gnPlatformCommandBuffer_t {
|
||||
|
||||
} gnPlatformCommandBuffer;
|
||||
gnReturnCode openglCommandPoolAllocateCommandBuffers(gnCommandBufferHandle* commandBuffers, uint32_t count, gnCommandPoolHandle pool);
|
@@ -0,0 +1,6 @@
|
||||
#include "opengl_command_pool.h"
|
||||
|
||||
gnReturnCode openglCreateCommandPool(gnCommandPool commandPool, gnDevice device, gnCommandPoolInfo info) {
|
||||
return GN_SUCCESS;
|
||||
}
|
||||
void openglDestroyCommandPool(gnCommandPool commandPool) {}
|
@@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
#include "core/src/command/command_pool/gryphn_command_pool.h"
|
||||
|
||||
typedef struct gnPlatformCommandPool_t gnPlatformCommandPool;
|
||||
gnReturnCode openglCreateCommandPool(gnCommandPool commandPool, gnDevice device, gnCommandPoolInfo info);
|
||||
void openglDestroyCommandPool(gnCommandPool commandPool);
|
Reference in New Issue
Block a user