Skip to main content

gl_register_buffer

Function gl_register_buffer 

Source
pub fn gl_register_buffer(buffer_id: u32) -> Option<usize>
Expand description

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.