libtransistor
A userland library for the Nintendo Switch
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
include
libtransistor
display
graphic_buffer.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
12
#include<
libtransistor/types.h
>
13
#include<
libtransistor/gpu/gpu.h
>
14
19
typedef
struct
{
20
uint32_t width;
21
uint32_t height;
22
uint32_t stride;
23
uint32_t format;
24
uint32_t usage;
25
gpu_buffer_t
*gpu_buffer;
26
27
int
index;
28
int
unknown
;
29
}
graphic_buffer_t
;
30
31
#ifdef __cplusplus
32
}
33
#endif
types.h
Various system types.
graphic_buffer_t
Graphics buffer.
Definition:
graphic_buffer.h:19
gpu.h
GPU functions.
graphic_buffer_t::unknown
int unknown
This is probably related to the offset within the gpu_buffer that this buffer lives in...
Definition:
graphic_buffer.h:28
gpu_buffer_t
Buffer to be used for various GPU functions.
Definition:
gpu.h:18
Generated on Thu Oct 3 2019 01:41:37 for libtransistor by
1.8.6