Buffer
class
class Buffer {
gl.RenderingContext context;
gl.Buffer _glbuffer;
String belongsToAttribute;
Buffer(this.context) {
_glbuffer = context.createBuffer();
}
bind(target) {
context.bindBuffer( target, _glbuffer );
}
}
Constructors
Creates a new Object instance.
Object instances have no meaningful state, and are only useful
through their identity. An Object instance is equal to itself
only.
Buffer(this.context) {
_glbuffer = context.createBuffer();
}
Properties
String belongsToAttribute #
String belongsToAttribute
gl.RenderingContext context
Methods
dynamic bind(target) #
bind(target) {
context.bindBuffer( target, _glbuffer );
}