Skip to content

glVertexAttribDivisor

modify the rate at which generic vertex attributes advance during instanced rendering

function glVertexAttribDivisor(int $index, int $divisor) : void
arguments
  1. int $index Specify the index of the generic vertex attribute.
  2. int $divisor Specify the number of instances that will pass between updates of the generic attribute at slot index.
returns

void


Copyright © 2010-2014 Khronos Group

This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.