CVOpenGLBufferPool

A utility object for managing a set of recyclable OpenGL buffer objects.

Topics

Functions

func CVOpenGLBufferPoolGetAttributes(CVOpenGLBufferPool) -> Unmanaged<CFDictionary>?

Returns the pool attributes dictionary for an Open GL buffer pool.

Deprecated
func CVOpenGLBufferPoolGetOpenGLBufferAttributes(CVOpenGLBufferPool) -> Unmanaged<CFDictionary>?

Returns the attributes of OpenGL buffers that will be created from a buffer pool.

Deprecated
func CVOpenGLBufferPoolGetTypeID() -> CFTypeID

Obtains the Core Foundation ID for the OpenGL buffer pool type.

Deprecated

Data Types

class CVOpenGLBufferPool

A reference to an OpenGL buffer pool object.

Constants

let kCVOpenGLBufferPoolMaximumBufferAgeKey: CFString

The maximum time that unused buffers should be kept before they are deallocated (type CFAbsoluteTime).

Deprecated
let kCVOpenGLBufferPoolMinimumBufferCountKey: CFString

The minimum number of buffers to be kept in the pool (type CFNumber).

Deprecated

See Also

OpenGL

CVOpenGLTextureCache

A cache used to create and manage OpenGL texture objects.

CVOpenGLTexture

A texture-based image buffer that supplies source image data to OpenGL.

CVOpenGLBuffer

An image buffer used to store image data in video memory.