Add convenience headers to include all of GX2 and GX2R.

This commit is contained in:
Daniel K. O. (dkosmari) 2026-06-01 16:54:49 -03:00
parent 6f9a38068d
commit 51101b17d4
3 changed files with 43 additions and 0 deletions

28
include/gx2/all.h Normal file
View File

@ -0,0 +1,28 @@
#pragma once
/**
* \ingroup gx2
* This is a convenience header to include all gx2 headers at once.
*/
#include "aperture.h"
#include "clear.h"
#include "context.h"
#include "debug.h"
#include "display.h"
#include "displaylist.h"
#include "draw.h"
#include "enum.h"
#include "event.h"
#include "mem.h"
#include "registers.h"
#include "sampler.h"
#include "semaphore.h"
#include "shaders.h"
#include "state.h"
#include "surface.h"
#include "swap.h"
#include "temp.h"
#include "tessellation.h"
#include "texture.h"
#include "utils.h"

13
include/gx2r/all.h Normal file
View File

@ -0,0 +1,13 @@
#pragma once
/**
* \ingroup gx2r
* This is a convenience header to include all gx2r headers at once.
*/
#include "buffer.h"
#include "displaylist.h"
#include "draw.h"
#include "mem.h"
#include "resource.h"
#include "surface.h"

View File

@ -69,6 +69,7 @@
#include <coreinit/userconfig.h>
#include <dmae/mem.h>
#include <dmae/sync.h>
#include <gx2/all.h>
#include <gx2/aperture.h>
#include <gx2/clear.h>
#include <gx2/context.h>
@ -89,6 +90,7 @@
#include <gx2/tessellation.h>
#include <gx2/texture.h>
#include <gx2/utils.h>
#include <gx2r/all.h>
#include <gx2r/buffer.h>
#include <gx2r/displaylist.h>
#include <gx2r/draw.h>