invalidateFramebuffer method

void invalidateFramebuffer(
  1. int target,
  2. List<int> attachments
)

Implementation

void invalidateFramebuffer(int target, List<int> attachments){
  startCheck('invalidateFramebuffer');
  int count = attachments.length;
  final valuePtr = calloc<Uint32>(count);
  valuePtr.asTypedList(count).setAll(0, attachments);
  gl.glInvalidateFramebuffer(target, count, valuePtr);
  calloc.free(valuePtr);
  checkError('invalidateFramebuffer');
}