VertexBufferObject.bindTexture

Bind a texture to this Buffer. It's a shortcut for:

buf.pointTo(Target.TexCoords);
buf.pointTo(Target.Vertex);

tex.bind();

Note: You should clean up with: tex.unbind(); and buf.disableAllStates();

class VertexBufferObject
final
void
bindTexture
(
const Texture tex
)

Meta