<tr><thcolspan="2">Enumerator</th></tr><tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985ab1c4d39d3554314a28c9fec867f104d9"></a>GX2R_RESOURCE_BIND_TEXTURE </td><tdclass="fielddoc"><p>This resource is to be used as a texture. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985aaa855e9318ee54787401f8f8438e542c"></a>GX2R_RESOURCE_BIND_COLOR_BUFFER </td><tdclass="fielddoc"><p>This resource is to be used as a colour buffer. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985a944fd4e1f045eafb22835b4800cb5731"></a>GX2R_RESOURCE_BIND_DEPTH_BUFFER </td><tdclass="fielddoc"><p>This resource is to be used as a depth buffer. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985abfa0b10bbcf11af39dd2e761883969be"></a>GX2R_RESOURCE_BIND_SCAN_BUFFER </td><tdclass="fielddoc"><p>This resource is to be used as a scan buffer. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985a3b5fb410e9dd9ddfc866766234b8da27"></a>GX2R_RESOURCE_BIND_VERTEX_BUFFER </td><tdclass="fielddoc"><p>This resource is to be used as a vertex buffer. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985a5c525ba66b4edcc9ef3a583ed071fbd9"></a>GX2R_RESOURCE_BIND_INDEX_BUFFER </td><tdclass="fielddoc"><p>This resource is to be used as a index buffer. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985af2e8feddd1e7a5c8d109c5d1f2b5e91e"></a>GX2R_RESOURCE_BIND_UNIFORM_BLOCK </td><tdclass="fielddoc"><p>This resource is to be used as a uniform block. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985a6cab3a15c09fb2f54b53f5eb9686b385"></a>GX2R_RESOURCE_BIND_SHADER_PROGRAM </td><tdclass="fielddoc"><p>This resource is to be used as a shader program. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985a3c470f710a3f43c51c3e9f27d2c0e1fe"></a>GX2R_RESOURCE_BIND_STREAM_OUTPUT </td><tdclass="fielddoc"><p>This resource is to be used as a stream output. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985ac411e8f8c26fee1cdaca543af7bc43ac"></a>GX2R_RESOURCE_BIND_DISPLAY_LIST </td><tdclass="fielddoc"><p>This resource is to be used as a display list. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985a957bccdd1d993b7594775bbeef2c5eab"></a>GX2R_RESOURCE_BIND_GS_RING_BUFFER </td><tdclass="fielddoc"><p>This resource is to be used as a geometry shader ring buffer. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985ab321f3b76018d6bdd5cacd491303b9f1"></a>GX2R_RESOURCE_USAGE_CPU_READ </td><tdclass="fielddoc"><p>Invalidate resource for a CPU read. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985acbcfb2994771c0e39ff67a5d93b4a087"></a>GX2R_RESOURCE_USAGE_CPU_WRITE </td><tdclass="fielddoc"><p>Invalidate resource for a CPU write. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985ac6817ead455f72a73fa265f1973cbdb9"></a>GX2R_RESOURCE_USAGE_GPU_READ </td><tdclass="fielddoc"><p>Invalidate resource for a GPU read. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985a56797a44601898ebec8ac0b768f9fe5e"></a>GX2R_RESOURCE_USAGE_GPU_WRITE </td><tdclass="fielddoc"><p>Invalidate resource for a GPU write. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985ace76be4eed21ade1e8a75586658b3220"></a>GX2R_RESOURCE_USAGE_DMA_READ </td><tdclass="fielddoc"><p>Invalidate resource for a DMA read. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985aa0e12d4112e4d1c835e1612242705c77"></a>GX2R_RESOURCE_USAGE_DMA_WRITE </td><tdclass="fielddoc"><p>Invalidate resource for a DMA write. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985a6d8e4c3f8f6ea799bdecd2f21fbd453c"></a>GX2R_RESOURCE_USAGE_FORCE_MEM1 </td><tdclass="fielddoc"><p>Force resource allocation to be in MEM1. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985ac8729cf9a29281dc2e3011f88e8aa3d3"></a>GX2R_RESOURCE_USAGE_FORCE_MEM2 </td><tdclass="fielddoc"><p>Force resource allocation to be in MEM2. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985a1ed473d85d90d923b468dcddd068c5f7"></a>GX2R_RESOURCE_DISABLE_CPU_INVALIDATE </td><tdclass="fielddoc"><p>Disable CPU invalidation. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985a619897f1f4fc62b5d9d949adf7f227f1"></a>GX2R_RESOURCE_LOCKED_READ_ONLY </td><tdclass="fielddoc"><p>Resource is locked for read-only access. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985a65f2cc32f96c14a98c3e90203b672560"></a>GX2R_RESOURCE_GX2R_ALLOCATED </td><tdclass="fielddoc"><p>Resource was allocated by GX2R. </p>
<tr><tdclass="fieldname"><aid="gga5038cc0d0ddfb9c5997bc24c25374985ae8602a68b2031d79d89db924272c4779"></a>GX2R_RESOURCE_LOCKED </td><tdclass="fielddoc"><p>Resource is locked for all access. </p>
<pclass="definition">Definition at line <aclass="el"href="resource_8h_source.html#l00014">14</a> of file <aclass="el"href="resource_8h_source.html">resource.h</a>.</p>