Contents

CVOpenGLBufferPoolCreate(_:_:_:_:)

Creates a new OpenGL buffer pool.

Declaration

func CVOpenGLBufferPoolCreate(_ allocator: CFAllocator?, _ poolAttributes: CFDictionary?, _ openGLBufferAttributes: CFDictionary?, _ poolOut: UnsafeMutablePointer<CVOpenGLBufferPool?>) -> CVReturn

Parameters

  • allocator:

    The allocator to use for allocating this buffer pool. Pass NULL to 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, poolOut points to the new OpenGL buffer pool.

Return Value

A Core Video result code. SeeCore Video Constants for possible values.

See Also

Functions