Logo
Framebuffer.h
1#pragma once
2#include "gfx/Framebuffer.h"
3#include "Texture.h"
4
5namespace SharpKmyGfx
6{
7 public ref class Framebuffer
8 {
9 public:
10 Framebuffer(kmyGfx::Framebuffer* fb);
12 kmyGfx::Framebuffer* _obj = nullptr;
13
14 Texture^ getTexture(int index);
15
16 static Framebuffer^ getTemporaryFramebuffer(TEXTUREFFORMAT colorFmt, TEXTUREFFORMAT depthFmt, int width, int height);
18 };
19
20}
Definition: Framebuffer.h:8
static void releaseTemporaryFramebuffer(Framebuffer^ fb)
Definition: Framebuffer.cpp:44
kmyGfx::Framebuffer * _obj
Definition: Framebuffer.h:12
Texture getTexture(int index)
Definition: Framebuffer.cpp:18
Framebuffer(kmyGfx::Framebuffer *fb)
Definition: Framebuffer.cpp:6
static Framebuffer getTemporaryFramebuffer(TEXTUREFFORMAT colorFmt, TEXTUREFFORMAT depthFmt, int width, int height)
Definition: Framebuffer.cpp:29
~Framebuffer()
Definition: Framebuffer.cpp:12
Definition: Texture.h:12
Definition: Asset.h:4
TEXTUREFFORMAT
Definition: GfxTypes.h:156