wut  v1.7.0
Wii U Toolchain
resource.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 typedef enum GX2RResourceFlags
15 {
18 
21 
24 
27 
30 
33 
36 
39 
42 
45 
48 
51 
54 
57 
60 
63 
66 
69 
72 
75 
78 
81 
84 
87 
91 
93 
94 #ifdef __cplusplus
95 }
96 #endif
97 
GX2RResourceFlags
Definition: resource.h:15
@ GX2R_RESOURCE_DISABLE_CPU_INVALIDATE
Disable CPU invalidation.
Definition: resource.h:77
@ GX2R_RESOURCE_BIND_VERTEX_BUFFER
This resource is to be used as a vertex buffer.
Definition: resource.h:32
@ GX2R_RESOURCE_BIND_STREAM_OUTPUT
This resource is to be used as a stream output.
Definition: resource.h:44
@ GX2R_RESOURCE_USAGE_GPU_WRITE
Invalidate resource for a GPU write.
Definition: resource.h:62
@ GX2R_RESOURCE_BIND_INDEX_BUFFER
This resource is to be used as a index buffer.
Definition: resource.h:35
@ GX2R_RESOURCE_LOCKED_READ_ONLY
Resource is locked for read-only access.
Definition: resource.h:83
@ GX2R_RESOURCE_GX2R_ALLOCATED
Resource was allocated by GX2R.
Definition: resource.h:86
@ GX2R_RESOURCE_BIND_SHADER_PROGRAM
This resource is to be used as a shader program.
Definition: resource.h:41
@ GX2R_RESOURCE_USAGE_FORCE_MEM1
Force resource allocation to be in MEM1.
Definition: resource.h:71
@ GX2R_RESOURCE_BIND_DEPTH_BUFFER
This resource is to be used as a depth buffer.
Definition: resource.h:26
@ GX2R_RESOURCE_BIND_GS_RING_BUFFER
This resource is to be used as a geometry shader ring buffer.
Definition: resource.h:50
@ GX2R_RESOURCE_DISABLE_GPU_INVALIDATE
Disable GPU invalidation.
Definition: resource.h:80
@ GX2R_RESOURCE_USAGE_DMA_WRITE
Invalidate resource for a DMA write.
Definition: resource.h:68
@ GX2R_RESOURCE_BIND_COLOR_BUFFER
This resource is to be used as a colour buffer.
Definition: resource.h:23
@ GX2R_RESOURCE_BIND_TEXTURE
This resource is to be used as a texture.
Definition: resource.h:20
@ GX2R_RESOURCE_USAGE_CPU_READ
Invalidate resource for a CPU read.
Definition: resource.h:53
@ GX2R_RESOURCE_BIND_SCAN_BUFFER
This resource is to be used as a scan buffer.
Definition: resource.h:29
@ GX2R_RESOURCE_BIND_DISPLAY_LIST
This resource is to be used as a display list.
Definition: resource.h:47
@ GX2R_RESOURCE_BIND_NONE
No resource flags specified.
Definition: resource.h:17
@ GX2R_RESOURCE_USAGE_GPU_READ
Invalidate resource for a GPU read.
Definition: resource.h:59
@ GX2R_RESOURCE_USAGE_FORCE_MEM2
Force resource allocation to be in MEM2.
Definition: resource.h:74
@ GX2R_RESOURCE_USAGE_CPU_WRITE
Invalidate resource for a CPU write.
Definition: resource.h:56
@ GX2R_RESOURCE_USAGE_DMA_READ
Invalidate resource for a DMA read.
Definition: resource.h:65
@ GX2R_RESOURCE_LOCKED
Resource is locked for all access.
Definition: resource.h:89
@ GX2R_RESOURCE_BIND_UNIFORM_BLOCK
This resource is to be used as a uniform block.
Definition: resource.h:38
WUT_ENUM_BITMASK_TYPE(WPADLed)