Lines Matching refs:attributeIndex
49 const VertexAttribute& VertexArray::getVertexAttribute(size_t attributeIndex) const in getVertexAttribute()
51 ASSERT(attributeIndex < MAX_VERTEX_ATTRIBS); in getVertexAttribute()
52 return mVertexAttributes[attributeIndex]; in getVertexAttribute()
61 void VertexArray::enableAttribute(unsigned int attributeIndex, bool enabledState) in enableAttribute() argument
63 ASSERT(attributeIndex < MAX_VERTEX_ATTRIBS); in enableAttribute()
64 mVertexAttributes[attributeIndex].mArrayEnabled = enabledState; in enableAttribute()
67 void VertexArray::setAttributeState(unsigned int attributeIndex, Buffer *boundBuffer, GLint size, G… in setAttributeState() argument
70 ASSERT(attributeIndex < MAX_VERTEX_ATTRIBS); in setAttributeState()
71 mVertexAttributes[attributeIndex].mBoundBuffer = boundBuffer; in setAttributeState()
72 mVertexAttributes[attributeIndex].mSize = size; in setAttributeState()
73 mVertexAttributes[attributeIndex].mType = type; in setAttributeState()
74 mVertexAttributes[attributeIndex].mNormalized = normalized; in setAttributeState()
75 mVertexAttributes[attributeIndex].mPureInteger = pureInteger; in setAttributeState()
76 mVertexAttributes[attributeIndex].mStride = stride; in setAttributeState()
77 mVertexAttributes[attributeIndex].mPointer = pointer; in setAttributeState()