Searched refs:elementSize (Results 1 – 4 of 4) sorted by relevance
155 m_currVaoState[location].elementSize = size ? (glSizeof(type) * size) : 0; in setVertexAttribState()159 m_currVaoState[location].elementSize = in setVertexAttribState()160 m_currVaoState[location].elementSize / 4; in setVertexAttribState()189 m_currVaoState[location].elementSize = size ? (glSizeof(type) * size) : 0; in setVertexAttribFormat()193 m_currVaoState[location].elementSize = in setVertexAttribFormat()194 m_currVaoState[location].elementSize / 4; in setVertexAttribFormat()
127 unsigned int elementSize; member
417 unsigned int datalen = state.elementSize * count; in sendVertexData()419 if (stride == 0) stride = state.elementSize; in sendVertexData()
1232 unsigned int datalen = state.elementSize * count; in sendVertexAttributes()1235 … __FUNCTION__, i, divisor, state.stride, effectiveStride, state.elementSize, state.type, datalen); in sendVertexAttributes()1237 datalen = state.elementSize * actual_count; in sendVertexAttributes()1240 if (state.elementSize == 0) { in sendVertexAttributes()1262 … unsigned int bufLen = effectiveStride * (count ? (count - 1) : 0) + state.elementSize; in sendVertexAttributes()1265 … bufLen = effectiveStride * (actual_count ? (actual_count - 1) : 0) + state.elementSize; in sendVertexAttributes()