deleteRenderbuffer method

void deleteRenderbuffer(
  1. Renderbuffer renderbuffer
)

Implementation

void deleteRenderbuffer(Renderbuffer renderbuffer){
  startCheck('deleteRenderbuffer');
  final List<int> _texturesList = [renderbuffer.id];
  final ptr = calloc<Uint32>(_texturesList.length);
  ptr.asTypedList(1).setAll(0, _texturesList);
  gl.glDeleteRenderbuffers(1, ptr);
  calloc.free(ptr);
  checkError('deleteFramebuffer');
}