tutorial 04

This commit is contained in:
h4570
2022-08-22 23:23:51 +02:00
parent 4fa65fc535
commit d469e78747
26 changed files with 400 additions and 96 deletions
+6 -2
View File
@@ -23,12 +23,16 @@ class Renderer3D {
Renderer3DUtility utility;
void init(RendererCore* core);
/** Deinitialize previous pipeline and initialize new pipeline */
void usePipeline(Renderer3DPipeline* pipeline);
void usePipeline(Renderer3DPipeline& pipeline);
/** Called by engine */
void init(RendererCore* core);
/** Called by engine */
void onFrameEnd();
private:
Renderer3DPipeline* currentPipeline;
void onDestroy(Renderer3DPipeline* pipeline);