pub unsafe extern "C-unwind" fn CVOpenGLBufferPoolCreate(
allocator: Option<&CFAllocator>,
pool_attributes: Option<&CFDictionary>,
open_gl_buffer_attributes: Option<&CFDictionary>,
pool_out: NonNull<*mut CVOpenGLBufferPool>,
) -> CVReturn👎Deprecated: OpenGL/OpenGLES is no longer supported. Use Metal APIs instead. (Define COREVIDEO_SILENCE_GL_DEPRECATION to silence these warnings)
Available on crate features
CVOpenGLBufferPool and CVReturn only.Expand description
Creates a new OpenGL Buffer pool.
Equivalent to CFRelease, but NULL safe
Parameter allocator: The CFAllocatorRef to use for allocating this buffer pool. May be NULL.
Parameter poolAttributes: A CFDictionaryRef containing the attributes to be used for the pool itself.
Parameter openGLBufferAttributes: A CFDictionaryRef containing the attributes to be used for creating new OpenGLBuffers within the pool.
Parameter poolOut: The newly created pool will be placed here
Returns: Returns kCVReturnSuccess on success