wut  1.0.0-beta9
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 
88 
89 
90 #ifdef __cplusplus
91 }
92 #endif
93 
GX2R_RESOURCE_USAGE_GPU_READ
@ GX2R_RESOURCE_USAGE_GPU_READ
Invalidate resource for a GPU read.
Definition: resource.h:56
GX2RResourceFlags
GX2RResourceFlags
Definition: resource.h:14
GX2R_RESOURCE_USAGE_CPU_READ
@ GX2R_RESOURCE_USAGE_CPU_READ
Invalidate resource for a CPU read.
Definition: resource.h:50
GX2R_RESOURCE_LOCKED_READ_ONLY
@ GX2R_RESOURCE_LOCKED_READ_ONLY
Resource is locked for read-only access.
Definition: resource.h:80
GX2R_RESOURCE_GX2R_ALLOCATED
@ GX2R_RESOURCE_GX2R_ALLOCATED
Resource was allocated by GX2R.
Definition: resource.h:83
GX2R_RESOURCE_BIND_INDEX_BUFFER
@ GX2R_RESOURCE_BIND_INDEX_BUFFER
This resource is to be used as a index buffer.
Definition: resource.h:32
GX2R_RESOURCE_BIND_TEXTURE
@ GX2R_RESOURCE_BIND_TEXTURE
This resource is to be used as a texture.
Definition: resource.h:17
GX2R_RESOURCE_USAGE_GPU_WRITE
@ GX2R_RESOURCE_USAGE_GPU_WRITE
Invalidate resource for a GPU write.
Definition: resource.h:59
GX2R_RESOURCE_BIND_COLOR_BUFFER
@ GX2R_RESOURCE_BIND_COLOR_BUFFER
This resource is to be used as a colour buffer.
Definition: resource.h:20
wut.h
GX2R_RESOURCE_USAGE_CPU_WRITE
@ GX2R_RESOURCE_USAGE_CPU_WRITE
Invalidate resource for a CPU write.
Definition: resource.h:53
GX2R_RESOURCE_BIND_SCAN_BUFFER
@ GX2R_RESOURCE_BIND_SCAN_BUFFER
This resource is to be used as a scan buffer.
Definition: resource.h:26
GX2R_RESOURCE_BIND_UNIFORM_BLOCK
@ GX2R_RESOURCE_BIND_UNIFORM_BLOCK
This resource is to be used as a uniform block.
Definition: resource.h:35
GX2R_RESOURCE_BIND_DISPLAY_LIST
@ GX2R_RESOURCE_BIND_DISPLAY_LIST
This resource is to be used as a display list.
Definition: resource.h:44
GX2R_RESOURCE_USAGE_FORCE_MEM2
@ GX2R_RESOURCE_USAGE_FORCE_MEM2
Force resource allocation to be in MEM2.
Definition: resource.h:71
GX2R_RESOURCE_USAGE_DMA_READ
@ GX2R_RESOURCE_USAGE_DMA_READ
Invalidate resource for a DMA read.
Definition: resource.h:62
GX2R_RESOURCE_DISABLE_GPU_INVALIDATE
@ GX2R_RESOURCE_DISABLE_GPU_INVALIDATE
Disable GPU invalidation.
Definition: resource.h:77
GX2R_RESOURCE_BIND_STREAM_OUTPUT
@ GX2R_RESOURCE_BIND_STREAM_OUTPUT
This resource is to be used as a stream output.
Definition: resource.h:41
GX2R_RESOURCE_BIND_GS_RING_BUFFER
@ GX2R_RESOURCE_BIND_GS_RING_BUFFER
This resource is to be used as a geometry shader ring buffer.
Definition: resource.h:47
GX2R_RESOURCE_BIND_SHADER_PROGRAM
@ GX2R_RESOURCE_BIND_SHADER_PROGRAM
This resource is to be used as a shader program.
Definition: resource.h:38
GX2R_RESOURCE_BIND_VERTEX_BUFFER
@ GX2R_RESOURCE_BIND_VERTEX_BUFFER
This resource is to be used as a vertex buffer.
Definition: resource.h:29
GX2R_RESOURCE_BIND_DEPTH_BUFFER
@ GX2R_RESOURCE_BIND_DEPTH_BUFFER
This resource is to be used as a depth buffer.
Definition: resource.h:23
GX2R_RESOURCE_USAGE_DMA_WRITE
@ GX2R_RESOURCE_USAGE_DMA_WRITE
Invalidate resource for a DMA write.
Definition: resource.h:65
GX2R_RESOURCE_DISABLE_CPU_INVALIDATE
@ GX2R_RESOURCE_DISABLE_CPU_INVALIDATE
Disable CPU invalidation.
Definition: resource.h:74
GX2R_RESOURCE_LOCKED
@ GX2R_RESOURCE_LOCKED
Resource is locked for all access.
Definition: resource.h:86
GX2R_RESOURCE_USAGE_FORCE_MEM1
@ GX2R_RESOURCE_USAGE_FORCE_MEM1
Force resource allocation to be in MEM1.
Definition: resource.h:68