Too much changes

This commit is contained in:
2025-03-09 04:50:41 +03:00
parent e45d21b621
commit b1fb15fa1f
20 changed files with 255 additions and 44 deletions

View File

@@ -1,7 +1,8 @@
#ifndef RENDERTARGET_H
#define RENDERTARGET_H
#include <stdint.h>
#include <stdlib.h>
#include "utils/maths.h"
class Texture2D;
class RenderDevice;
@@ -17,7 +18,7 @@ public:
RenderTarget();
~RenderTarget();
void Create(const char* name = nullptr);
void Create(const char* name = NULL);
void Destroy();
void Finialize();
@@ -26,7 +27,7 @@ public:
void AttachDepthTexture(Texture2D* texture);
private:
uint32_t m_framebuffer;
uint m_framebuffer;
};