CVOpenGLBufferPoolCreate(_:_:_:_:)
Creates a new OpenGL buffer pool.
Declaration
func CVOpenGLBufferPoolCreate(_ allocator: CFAllocator?, _ poolAttributes: CFDictionary?, _ openGLBufferAttributes: CFDictionary?, _ poolOut: UnsafeMutablePointer<CVOpenGLBufferPool?>) -> CVReturnParameters
- allocator:
The allocator to use for allocating this buffer pool. Pass
NULLto specify the default allocator. - poolAttributes:
A Core Foundation dictionary containing the attributes to be used for the pool itself.
- openGLBufferAttributes:
A Core Foundation dictionary containing the attributes to be used for creating new OpenGL buffers within the pool.
- poolOut:
On output,
poolOutpoints to the new OpenGL buffer pool.
Return Value
A Core Video result code. SeeCore Video Constants for possible values.