pub fn gl_register_buffer(buffer_id: u32) -> Option<usize>
Register a GL buffer (PBO) with CUDA. Returns the resource as usize (pointer) or None. MUST be called on the thread where the GL context is current.
usize
None