Home
last modified time | relevance | path

Searched refs:preLitColor (Results 1 – 1 of 1) sorted by relevance

/RvlSDK-3.2.2/build/demos/gxdemo/src/Lighting/
Dlit-prelit.c84 u8* preLitColor; member
236 sc->preLitColor = MEMAllocFromAllocator(&DemoAllocator1, WALL_ARRAY_SIZE ); in DrawInit()
237 ASSERTMSG(sc->preLitColor != 0, "Memory allocation failed."); in DrawInit()
239 GXSetArray(GX_VA_CLR0, sc->preLitColor, 3*sizeof(u8)); in DrawInit()
542 sc->preLitColor[iv] = (u8)(( r > 255.0F ) ? 255 : r); in PreLighting()
543 sc->preLitColor[iv+1] = (u8)(( g > 255.0F ) ? 255 : g); in PreLighting()
544 sc->preLitColor[iv+2] = (u8)(( b > 255.0F ) ? 255 : b); in PreLighting()
550 DCFlushRange(sc->preLitColor, WALL_ARRAY_SIZE); in PreLighting()