(bind-int-vertex-attribute) ( program-instance ptr name dim gl-type stride offset -- )


Vocabulary
gpu.shaders.private

Inputs
program-instancean object
ptran object
namean object
diman object
gl-typean object
stridean object
offsetan object


Outputs
None

Definition


:: (bind-int-vertex-attribute)
( program-instance ptr name dim gl-type stride offset -- )
program-instance name attribute-index :> idx idx 0 >= [
idx glEnableVertexAttribArray
idx dim gl-type stride offset ptr <displaced-alien>
glVertexAttribIPointer
] when ; inline