Searched refs:OFFSET_COMPONENTS (Results 1 – 1 of 1) sorted by relevance
59 static const int OFFSET_COMPONENTS = 3; // \note Affects whether a float or a vecN is used in shad… variable222 DE_STATIC_ASSERT(OFFSET_COMPONENTS >= 1 && OFFSET_COMPONENTS <= 4); in init()224 for (int i = 0; i < 4-OFFSET_COMPONENTS; i++) in init()239 …instanceAttribs += "in highp " + (OFFSET_COMPONENTS == 1 ? string("float") : "vec" + de::toString(… in init()392 DE_STATIC_ASSERT(OFFSET_COMPONENTS >= 1 && OFFSET_COMPONENTS <= 4); in init()394 for (int j = 0; j < OFFSET_COMPONENTS-1; j++) in init()527 … glVertexAttribPointer(offsetLoc, OFFSET_COMPONENTS, GL_FLOAT, GL_FALSE, 0, &m_instanceOffsets[0]); in setupAndRender()