summaryrefslogtreecommitdiff
path: root/src/ral/ral_common.h
diff options
context:
space:
mode:
authorOmniscient <omniscient.oce@gmail.com>2024-07-11 18:03:29 +1000
committerOmniscient <omniscient.oce@gmail.com>2024-07-11 18:03:29 +1000
commit65d74bdb26af833b5380046dec204f685f745cc1 (patch)
tree6a913e8b47787fff9f4650963074ea3f8ab5de27 /src/ral/ral_common.h
parent3103f383751a12f8a0bdb22309704f1f826d204c (diff)
changing styles plus simplifying a bit
Diffstat (limited to 'src/ral/ral_common.h')
-rw-r--r--src/ral/ral_common.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/ral/ral_common.h b/src/ral/ral_common.h
index bc86945..fabf264 100644
--- a/src/ral/ral_common.h
+++ b/src/ral/ral_common.h
@@ -4,10 +4,11 @@
#include "ral_types.h"
#include "ral_impl.h"
-CORE_DEFINE_HANDLE(buffer_handle);
-CORE_DEFINE_HANDLE(texture_handle);
-CORE_DEFINE_HANDLE(sampler_handle);
-CORE_DEFINE_HANDLE(shader_handle);
+CORE_DEFINE_HANDLE(BufferHandle);
+CORE_DEFINE_HANDLE(TextureHandle);
+CORE_DEFINE_HANDLE(SamplerHandle);
+CORE_DEFINE_HANDLE(ShaderHandle);
+
CORE_DEFINE_HANDLE(pipeline_layout_handle);
CORE_DEFINE_HANDLE(pipeline_handle);
CORE_DEFINE_HANDLE(renderpass_handle);
@@ -18,7 +19,7 @@ CORE_DEFINE_HANDLE(renderpass_handle);
#define MAX_PIPELINES 128
#define MAX_RENDERPASSES 128
-TYPED_POOL(gpu_buffer, buffer);
+TYPED_POOL(GPU_Buffer, Buffer);
TYPED_POOL(gpu_texture, texture);
TYPED_POOL(gpu_pipeline_layout, pipeline_layout);
TYPED_POOL(gpu_pipeline, pipeline);
@@ -42,4 +43,4 @@ struct resource_pools {
};
void resource_pools_init(arena* a, struct resource_pools* res_pools);
-// vertex_description static_3d_vertex_description(); \ No newline at end of file
+// vertex_description static_3d_vertex_description();