summaryrefslogtreecommitdiff
path: root/src/new_render/immdraw.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-10 14:06:15 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-10 14:06:15 +1000
commit9cb4bfacc69b2a95ce8e9250afc33fb04d1ba548 (patch)
treefbe75da188ac83b34153ac79c367b9d57e0d5ff9 /src/new_render/immdraw.c
parent071a635e63536e50abfad7d5aeca1208dba58025 (diff)
remove old code
Diffstat (limited to 'src/new_render/immdraw.c')
-rw-r--r--src/new_render/immdraw.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/new_render/immdraw.c b/src/new_render/immdraw.c
deleted file mode 100644
index c711b0c..0000000
--- a/src/new_render/immdraw.c
+++ /dev/null
@@ -1,28 +0,0 @@
-#include "immdraw.h"
-#include "log.h"
-#include "primitives.h"
-#include "ral_common.h"
-#include "ral_impl.h"
-#include "ral_types.h"
-#include "render.h"
-#include "shader_layouts.h"
-
-void Immdraw_Init(Immdraw_Storage* storage) {
- INFO("Immediate drawing initialisation");
- // meshes
- // Geometry sphere_geo = Geo_CreateUVsphere(1.0, 8, 8);
- // storage->sphere = Mesh_Create(&sphere_geo, false);
-
- // pipeline / material
- ShaderDataLayout camera_data = Binding_Camera_GetLayout(NULL);
- GraphicsPipelineDesc pipeline_desc = {
- .debug_name = "Immediate Draw Pipeline",
- .data_layouts = { camera_data },
- .data_layouts_count = 1,
-
- };
- // storage->colour_pipeline = GPU_GraphicsPipeline_Create(pipeline_desc,
- // GPU_GetDefaultRenderpass());
-}
-
-void Immdraw_Sphere(Transform tf, f32 size, Vec4 colour, bool wireframe) {} \ No newline at end of file