private void TrackBoundBuffer(DeviceBuffer buffer) { this.enabledBufferTargets.Add((uint)buffer.Target); }
public void BindBuffer(DeviceBuffer buffer) { this.TrackBoundBuffer(buffer); this.device.BindBuffer(buffer); }
public void BindBuffer(DeviceBuffer buffer) { NativeGl.glBindBuffer((uint)buffer.Target, buffer.BufferId); }