Searched refs:s_ColorArray (Results 1 – 1 of 1) sorted by relevance
109 GLfloat* s_ColorArray = NULL; variable303 glBufferData(s_ArrayBufferDataType, s_ColorArraySize, s_ColorArray, GL_STATIC_DRAW); in InitializeCube()339 s_ColorArray = (f32*)demo::Alloc(s_ColorArraySize); in AllocateCube()340 if ( s_ColorArray == NULL ) in AllocateCube()536 s_ColorArray[4 * vertexIndex] = red; in SetCubeColor()537 s_ColorArray[4 * vertexIndex + 1] = green; in SetCubeColor()538 s_ColorArray[4 * vertexIndex + 2] = blue; in SetCubeColor()539 s_ColorArray[4 * vertexIndex + 3] = alpha; in SetCubeColor()681 glBufferSubData(GL_ARRAY_BUFFER, 0, s_ColorArraySize, s_ColorArray); in UpdateCubeVBO()739 if ( s_ColorArray != NULL ) in DeallocateCube()[all …]