The Socrates Gameboy Advance Development Engine
The SGADE is a development library for the Nintendo Gameboy
Advance. It's free for all uses and is distributed without guarantees.
For more information visit
the SGADE page.
#include "SoSystem.h"#include "SoVector.h"#include "SoImage.h"Go to the source code of this file.
Functions | |
| void | SoMode4PolygonRasterizerInitialize (void) |
| Initializes the rasterizer. | |
| void | SoMode4PolygonRasterizerSetBuffer (void *a_Buffer) |
| Sets the backbuffer the rasterizer will render to. | |
| void | SoMode4PolygonRasterizerSetTexture (SoImage *a_Texture) |
| Sets the texture the rasterizer should use for textured polygons. | |
| void | SoMode4PolygonRasterizerDrawTexturedPolygon (u32 a_NumVertices, SoVector2 *a_ScreenCoordinates, SoVector2 *a_TextureCoordinates) |
| Draws a textured polygon. | |
| void | SoMode4PolygonRasterizerDrawSolidPolygon (u32 a_NumVertices, SoVector2 *a_ScreenCoordinates, u32 a_PaletteIndex) |
| Draws a solid single color polygon. | |
| void | SoMode4PolygonRasterizerDrawSolidTriangleC (SoVector2 a_Triangle[3], u32 a_PaletteIndex) |
| C version of the assembly solid triangle rasterizer;. | |
| void | SoMode4PolygonRasterizerDrawSolidTriangle (SoVector2 a_Triangle[3], u32 a_PaletteIndex) |
| Draws a solid filled 2D triangle. | |
Variables | |
| u16 * | g_SoMode4PolygonRasterizerBuffer |
| Pointer the polygon routines will render to. | |