diff options
Diffstat (limited to 'src/renderer')
-rw-r--r-- | src/renderer/ral_types.h | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/src/renderer/ral_types.h b/src/renderer/ral_types.h index 0b1c02e..d6c5865 100644 --- a/src/renderer/ral_types.h +++ b/src/renderer/ral_types.h @@ -114,37 +114,4 @@ typedef enum gpu_cull_mode { // 3 - you don't need to know how the renderer works at all // 2 - you need to know how the overall renderer is designed -// 1 - you need to understand graphics API specifics - -/* ral.h */ - -// command buffer gubbins - -/* --- Backends */ - -// struct vulkan_backend { -// gpu_pipeline static_opaque_pipeline; -// gpu_pipeline skinned_opaque_pipeline; -// }; - -/* --- Renderer layer */ -/* render.h */ - - -// Drawing - -// void draw_mesh(gpu_cmd_encoder* encoder, mesh* mesh) { -// encode_set_vertex_buffer(encoder, mesh->vertex_buffer); -// encode_set_index_buffer(encoder, mesh->index_buffer); -// encode_draw_indexed(encoder, mesh->index_count) -// // vkCmdDrawIndexed -// } - -// void draw_scene(arena* frame, model_darray* models, renderer* ren, camera* camera, -// transform_hierarchy* tfh, scene* scene) { -// // set the pipeline first -// encode_set_pipeline() -// // in open this sets the shader -// // in vulkan it sets the whole pipeline - -// }
\ No newline at end of file +// 1 - you need to understand graphics API specifics
\ No newline at end of file |