void CustomFilterRenderer::unbindVertexAttributes()
{
    unbindVertexAttribute(m_compiledProgram->positionAttribLocation());
    unbindVertexAttribute(m_compiledProgram->texAttribLocation());
    unbindVertexAttribute(m_compiledProgram->meshAttribLocation());
    if (m_meshType == MeshTypeDetached)
        unbindVertexAttribute(m_compiledProgram->triangleAttribLocation());
}
Пример #2
0
void FECustomFilter::unbindVertexAttributes()
{
    unbindVertexAttribute(m_compiledProgram->positionAttribLocation());
    unbindVertexAttribute(m_compiledProgram->texAttribLocation());
    unbindVertexAttribute(m_compiledProgram->internalTexCoordAttribLocation());
    unbindVertexAttribute(m_compiledProgram->meshAttribLocation());
    if (m_meshType == CustomFilterOperation::DETACHED)
        unbindVertexAttribute(m_compiledProgram->triangleAttribLocation());
}