RetroArch
Enumerations
resource.h File Reference
#include <wiiu/types.h>
Include dependency graph for resource.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  GX2RResourceFlags {
  GX2R_RESOURCE_BIND_TEXTURE = 1 << 0, GX2R_RESOURCE_BIND_COLOR_BUFFER = 1 << 1, GX2R_RESOURCE_BIND_DEPTH_BUFFER = 1 << 2, GX2R_RESOURCE_BIND_SCAN_BUFFER = 1 << 3,
  GX2R_RESOURCE_BIND_VERTEX_BUFFER = 1 << 4, GX2R_RESOURCE_BIND_INDEX_BUFFER = 1 << 5, GX2R_RESOURCE_BIND_UNIFORM_BLOCK = 1 << 6, GX2R_RESOURCE_BIND_SHADER_PROGRAM = 1 << 7,
  GX2R_RESOURCE_BIND_STREAM_OUTPUT = 1 << 8, GX2R_RESOURCE_BIND_DISPLAY_LIST = 1 << 9, GX2R_RESOURCE_BIND_GS_RING_BUFFER = 1 << 10, GX2R_RESOURCE_USAGE_CPU_READ = 1 << 11,
  GX2R_RESOURCE_USAGE_CPU_WRITE = 1 << 12, GX2R_RESOURCE_USAGE_GPU_READ = 1 << 13, GX2R_RESOURCE_USAGE_GPU_WRITE = 1 << 14, GX2R_RESOURCE_USAGE_DMA_READ = 1 << 15,
  GX2R_RESOURCE_USAGE_DMA_WRITE = 1 << 16, GX2R_RESOURCE_USAGE_FORCE_MEM1 = 1 << 17, GX2R_RESOURCE_USAGE_FORCE_MEM2 = 1 << 18, GX2R_RESOURCE_DISABLE_CPU_INVALIDATE = 1 << 20,
  GX2R_RESOURCE_DISABLE_GPU_INVALIDATE = 1 << 21, GX2R_RESOURCE_LOCKED_READ_ONLY = 1 << 22, GX2R_RESOURCE_USER_MEMORY = 1 << 29, GX2R_RESOURCE_LOCKED = 1 << 30
}
 

Enumeration Type Documentation

◆ GX2RResourceFlags

Enumerator
GX2R_RESOURCE_BIND_TEXTURE 
GX2R_RESOURCE_BIND_COLOR_BUFFER 
GX2R_RESOURCE_BIND_DEPTH_BUFFER 
GX2R_RESOURCE_BIND_SCAN_BUFFER 
GX2R_RESOURCE_BIND_VERTEX_BUFFER 
GX2R_RESOURCE_BIND_INDEX_BUFFER 
GX2R_RESOURCE_BIND_UNIFORM_BLOCK 
GX2R_RESOURCE_BIND_SHADER_PROGRAM 
GX2R_RESOURCE_BIND_STREAM_OUTPUT 
GX2R_RESOURCE_BIND_DISPLAY_LIST 
GX2R_RESOURCE_BIND_GS_RING_BUFFER 
GX2R_RESOURCE_USAGE_CPU_READ 
GX2R_RESOURCE_USAGE_CPU_WRITE 
GX2R_RESOURCE_USAGE_GPU_READ 
GX2R_RESOURCE_USAGE_GPU_WRITE 
GX2R_RESOURCE_USAGE_DMA_READ 
GX2R_RESOURCE_USAGE_DMA_WRITE 
GX2R_RESOURCE_USAGE_FORCE_MEM1 
GX2R_RESOURCE_USAGE_FORCE_MEM2 
GX2R_RESOURCE_DISABLE_CPU_INVALIDATE 
GX2R_RESOURCE_DISABLE_GPU_INVALIDATE 
GX2R_RESOURCE_LOCKED_READ_ONLY 
GX2R_RESOURCE_USER_MEMORY 
GX2R_RESOURCE_LOCKED