XS Framework
A 3DS homebrew development framework.
 
Loading...
Searching...
No Matches
screen.hpp File Reference
#include "colors.hpp"
#include <3ds.h>
#include <cstdio>
#include <string.h>
Include dependency graph for screen.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  xs
 
namespace  xs::graphics
 
namespace  xs::graphics::screen
 

Macros

#define SCREEN_WIDTH   400
 
#define SCREEN_HEIGHT   240
 

Functions

void xs::graphics::screen::SwapFrameBuffers ()
 Swaps Frame Buffers.
 
void xs::graphics::screen::WaitForScreen ()
 Waits for the next screen refresh (VBlank)
 
void xs::graphics::screen::ClearConsole ()
 Clears the console.
 
void xs::graphics::screen::SceneInit ()
 
void xs::graphics::screen::SceneBegin (C3D_RenderTarget *target)
 
void xs::graphics::screen::ClearScreen (C3D_RenderTarget *target, u32 color)
 
void xs::graphics::screen::SceneEnd ()
 

Macro Definition Documentation

◆ SCREEN_HEIGHT

#define SCREEN_HEIGHT   240

◆ SCREEN_WIDTH

#define SCREEN_WIDTH   400