22extern class VulkanContext* gVulkanContext;
26extern struct GxContext gGxContext;
28extern struct C3dContext gC3dContext;
34 class VulkanContext* mVulkanContext = gVulkanContext;
36 struct GxContext* mGxContext = &gGxContext;
38 struct C3dContext* mC3dContext = &gC3dContext;
128 Image* mImage =
nullptr;
129#elif defined(POLYPHASE_PLATFORM_ADDON)
131 void* mPixels =
nullptr;
133 uint32_t mHeight = 0;
134 uint32_t mBufWidth = 0;
136 uint8_t mMipCount = 0;
137 uint8_t mSwizzled = 0;
139 GXTexObj mGxTexObj = {};
140 TPLFile mTplFile = {};
141 void* mTplData =
nullptr;
145 void* mTiledBuf =
nullptr;
146 uint32_t mTiledBufSize = 0;
147 uint32_t mTexWidth = 0;
148 uint32_t mTexHeight = 0;
151 void* mT3dsData =
nullptr;
156 void* mLinearBuf =
nullptr;
157 uint32_t mLinearBufSize = 0;
158 uint32_t mTexWidth = 0;
159 uint32_t mTexHeight = 0;
167 Shader* mFragmentShader =
nullptr;
174 Buffer* mVertexBuffer =
nullptr;
175 Buffer* mIndexBuffer =
nullptr;
176#elif defined(POLYPHASE_PLATFORM_ADDON)
180 void* mVertexData =
nullptr;
181 void* mIndexData =
nullptr;
182 uint32_t mNumVertices = 0;
183 uint32_t mNumIndices = 0;
184 uint32_t mVertexStride = 0;
185 uint32_t mVertexFlags = 0;
187 void* mDisplayList =
nullptr;
188 uint32_t mDisplayListSize = 0;
189 void* mColorDisplayList =
nullptr;
190 uint32_t mColorDisplayListSize = 0;
192 void* mVertexData =
nullptr;
193 void* mIndexData =
nullptr;
200 Buffer* mVertexBuffer =
nullptr;
201 Buffer* mIndexBuffer =
nullptr;
202#elif defined(POLYPHASE_PLATFORM_ADDON)
208 void* mIndexData =
nullptr;
209 uint32_t mNumIndices = 0;
211 void* mVertexData =
nullptr;
212 void* mIndexData =
nullptr;
219 Buffer* mColorVertexBuffer =
nullptr;
220#elif defined(POLYPHASE_PLATFORM_ADDON)
221 void* mColorVertexData =
nullptr;
223 void* mColorVertexData =
nullptr;
230 Buffer* mInstanceDataBuffer =
nullptr;
231 Buffer* mVertexColorBuffer =
nullptr;
240 MultiBuffer* mVertexBuffer =
nullptr;
241#elif defined(POLYPHASE_PLATFORM_ADDON)
247 void* mVertexData =
nullptr;
248 uint32_t mVertexCapacity = 0;
249 uint32_t mNumVertices = 0;
250 uint32_t mVertexStride = 0;
252 DoubleBuffer mVertexData;
259 Buffer* mVertexBuffer =
nullptr;
261 DoubleBuffer mVertexData;
268 Buffer* mVertexBuffer =
nullptr;
269 Buffer* mIndexBuffer =
nullptr;
271 void* mVertexData =
nullptr;
272 uint32_t mVertexDataSize = 0;
273 void* mDisplayList =
nullptr;
274 uint32_t mDisplayListSize = 0;
276 DoubleBuffer mVertexData;
277 DoubleBuffer mIndexData;
284 Buffer* mVertexBuffer =
nullptr;
285 Buffer* mIndexBuffer =
nullptr;
287 void* mVertexData =
nullptr;
288 uint32_t mVertexDataSize = 0;
289 void* mDisplayList =
nullptr;
290 uint32_t mDisplayListSize = 0;
292 DoubleBuffer mVertexData;
293 DoubleBuffer mIndexData;
300 Buffer* mVertexBuffer =
nullptr;
301 Buffer* mIndexBuffer =
nullptr;
303 void* mVertexData =
nullptr;
304 uint32_t mVertexDataSize = 0;
305 void* mDisplayList =
nullptr;
306 uint32_t mDisplayListSize = 0;
308 DoubleBuffer mVertexData;
309 DoubleBuffer mIndexData;
316 MultiBuffer* mVertexBuffer =
nullptr;
317#elif defined(POLYPHASE_PLATFORM_ADDON)
319 void* mVertexData =
nullptr;
320 uint32_t mVertexCapacity = 0;
322 DoubleBuffer mVertexData;
329 MultiBuffer* mVertexBuffer =
nullptr;
330 uint32_t mNumVerts = 0;
331#elif defined(POLYPHASE_PLATFORM_ADDON)
332 void* mVertexData =
nullptr;
333 uint32_t mVertexCapacity = 0;
335 DoubleBuffer mVertexData;
342 MultiBuffer* mVertexBuffer =
nullptr;
343 uint32_t mNumBufferCharsAllocated = 0;
344#elif defined(POLYPHASE_PLATFORM_ADDON)
345 void* mVertexData =
nullptr;
346 uint32_t mVertexCapacity = 0;
347 uint32_t mNumBufferCharsAllocated = 0;
349 DoubleBuffer mVertexData;
350 uint32_t mNumBufferCharsAllocated = 0;
357 MultiBuffer* mVertexBuffer =
nullptr;
358 MultiBuffer* mIndexBuffer =
nullptr;
359 uint32_t mNumVerticesAllocated = 0;
360#elif defined(POLYPHASE_PLATFORM_ADDON)
365 void* mVertexData =
nullptr;
366 uint32_t mVertexCapacity = 0;
367 uint32_t mNumVertices = 0;
368 uint32_t mVertexStride = 0;
370 DoubleBuffer mVertexData;
371 DoubleBuffer mIndexData;
372 uint32_t mNumVerticesAllocated = 0;
uint16_t IndexType
Definition GraphicsTypes.h:122
PixelFormat
Definition GraphicsTypes.h:45
RenderPassId
Definition GraphicsTypes.h:90
PipelineConfig
Definition GraphicsTypes.h:66
FilterType
Definition GraphicsTypes.h:103
WrapMode
Definition GraphicsTypes.h:111
Definition GraphicsTypes.h:32
float mResolutionScale
Definition GraphicsTypes.h:41
Definition GraphicsTypes.h:228
bool mDirty
Definition GraphicsTypes.h:234
Definition GraphicsTypes.h:164
Definition GraphicsTypes.h:355
Definition GraphicsTypes.h:327
Definition GraphicsTypes.h:314
Definition GraphicsTypes.h:238
Definition GraphicsTypes.h:198
Definition GraphicsTypes.h:217
Definition GraphicsTypes.h:172
Definition GraphicsTypes.h:282
Definition GraphicsTypes.h:257
Definition GraphicsTypes.h:340
Definition GraphicsTypes.h:126
Definition GraphicsTypes.h:298
Definition GraphicsTypes.h:266