Lines Matching defs:buffer
93 deUint32 buffer;
97 : buffer(buffer_)
107 TYPE_PLANAR = 0, //!< Data for each vertex array resides in a separate contiguous block in buffer.
323 void uploadBufferData (const glw::Functions& gl, deUint32 buffer, deUint32 usage, const VertexBufferLayout& layout, const VertexArrayPointer* srcArrays)
325 // Create temporary data buffer for upload.
331 gl.bindBuffer(GL_ARRAY_BUFFER, buffer);
334 GLU_EXPECT_NO_ERROR(gl.getError(), "Uploading buffer data failed");
363 m_layout.buffer = m_object;
402 //! Setup VA according to allocation spec. Assumes that other state (VAO binding, buffer) is set already.
421 //! Setup vertex buffer and attributes.
422 static void setVertexBufferAttributes (const glw::Functions& gl, const VertexBufferDescriptor& buffer)
424 gl.bindBuffer(GL_ARRAY_BUFFER, buffer.buffer);
426 for (std::vector<VertexAttributeDescriptor>::const_iterator vaIter = buffer.attributes.begin(); vaIter != buffer.attributes.end(); ++vaIter)