mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-28 00:39:30 +00:00
Updated all the libs, added citro3d, added ctr.swkbd (WIP, untested)
This commit is contained in:
parent
68a44645f7
commit
49c87e5526
97 changed files with 7341 additions and 944 deletions
21
libs/citro3d/include/c3d/buffers.h
Normal file
21
libs/citro3d/include/c3d/buffers.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#pragma once
|
||||
#include "types.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
u32 offset;
|
||||
u32 flags[2];
|
||||
} C3D_BufCfg;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
u32 base_paddr;
|
||||
int bufCount;
|
||||
C3D_BufCfg buffers[12];
|
||||
} C3D_BufInfo;
|
||||
|
||||
void BufInfo_Init(C3D_BufInfo* info);
|
||||
int BufInfo_Add(C3D_BufInfo* info, const void* data, ptrdiff_t stride, int attribCount, u64 permutation);
|
||||
|
||||
C3D_BufInfo* C3D_GetBufInfo(void);
|
||||
void C3D_SetBufInfo(C3D_BufInfo* info);
|
||||
Loading…
Add table
Add a link
Reference in a new issue