Logo
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
SharpKmyGfx::Framebuffer Class Reference

#include <Framebuffer.h>

Public Member Functions

 Framebuffer (kmyGfx::Framebuffer *fb)
 
 ~Framebuffer ()
 
Texture getTexture (int index)
 

Static Public Member Functions

static Framebuffer getTemporaryFramebuffer (TEXTUREFFORMAT colorFmt, TEXTUREFFORMAT depthFmt, int width, int height)
 
static void releaseTemporaryFramebuffer (Framebuffer^ fb)
 

Public Attributes

kmyGfx::Framebuffer * _obj = nullptr
 

Constructor & Destructor Documentation

◆ Framebuffer()

SharpKmyGfx::Framebuffer::Framebuffer ( kmyGfx::Framebuffer *  fb)

◆ ~Framebuffer()

SharpKmyGfx::Framebuffer::~Framebuffer ( )

Member Function Documentation

◆ getTemporaryFramebuffer()

Framebuffer SharpKmyGfx::Framebuffer::getTemporaryFramebuffer ( TEXTUREFFORMAT  colorFmt,
TEXTUREFFORMAT  depthFmt,
int  width,
int  height 
)
static

◆ getTexture()

Texture SharpKmyGfx::Framebuffer::getTexture ( int  index)

◆ releaseTemporaryFramebuffer()

void SharpKmyGfx::Framebuffer::releaseTemporaryFramebuffer ( Framebuffer fb)
static

Member Data Documentation

◆ _obj

kmyGfx::Framebuffer* SharpKmyGfx::Framebuffer::_obj = nullptr