Render textg
This commit is contained in:
@@ -6,4 +6,32 @@
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "dusksdl2.h"
|
||||
#include "display/renderbase.h"
|
||||
|
||||
/**
|
||||
* Initializes the render back buffer. May be either a framebuffer or a texture
|
||||
* depending on the render settings.
|
||||
*/
|
||||
errorret_t renderBackBufferInit(void);
|
||||
|
||||
/**
|
||||
* Binds the render back buffer as the current render target.
|
||||
*/
|
||||
void renderBackBufferBind(void);
|
||||
|
||||
/**
|
||||
* Unbinds the render back buffer, returning to the default render target.
|
||||
*/
|
||||
void renderBackBufferUnbind(void);
|
||||
|
||||
/**
|
||||
* Draws the render back buffer to the screen, scaling it to fit the window.
|
||||
*/
|
||||
void renderBackBufferDraw(void);
|
||||
|
||||
/**
|
||||
* Disposes of the render back buffer, freeing any resources it holds.
|
||||
*
|
||||
* @return An error state if an error occurred, otherwise OK.
|
||||
*/
|
||||
errorret_t renderBackBufferDispose(void);
|
||||
Reference in New Issue
Block a user