MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / iRenderTrianglesImmediate

Function iRenderTrianglesImmediate

src/SB/Core/gc/iParMgr.cpp:58–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void iRenderTrianglesImmediate(S32 vertType, S32 vertTypeSize, void* data, S32 dataSize, U16* index, S32 indexSize)
59{
60 if (RwIm3DTransform((RwIm3DVertex *)data, dataSize, NULL, 1) != NULL)
61 {
62 if (indexSize != 0)
63 {
64 RwIm3DRenderIndexedPrimitive(rwPRIMTYPETRILIST, index, indexSize);
65 }
66 else
67 {
68 RwIm3DRenderPrimitive(rwPRIMTYPETRILIST);
69 }
70 RwIm3DEnd();
71 }
72
73}
74
75static void iRenderPushFlat(xPar* p, xParCmdTex* tex);
76

Callers 1

iRenderFlushFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected