Struct ocl::builders::ContextProperties [] [src]

pub struct ContextProperties(_);

Context properties list.

[MINIMALLY TESTED]

TODO: Check for duplicate property assignments.

Methods

impl ContextProperties
[src]

Returns an empty new list of context properties

Specifies a platform (builder-style).

Specifies whether the user is responsible for synchronization between OpenCL and other APIs (builder-style).

Specifies an OpenGL context handle (builder-style).

Specifies a Display pointer for the GLX context (builder-style).

Specifies an OpenGL context CGL share group to associate the OpenCL context with (builder-style).

Pushes a ContextPropertyValue onto this list of properties (builder-style).

Specifies a platform.

Specifies whether the user is responsible for synchronization between OpenCL and other APIs.

Specifies an OpenGL context handle.

Specifies a Display pointer for the GLX context.

Specifies an OpenGL context CGL share group to associate the OpenCL context with.

Pushes a ContextPropertyValue onto this list of properties.

Returns a platform id or none.

Returns a cgl_sharegroup id or none.

Converts this list into a packed-word representation as specified here.

Returns a single context property value.

Converts raw stuff into other stuff.

Trait Implementations

impl Debug for ContextProperties
[src]

Formats the value using the given formatter.

impl Clone for ContextProperties
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more