Struct ocl_core::types::structs::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 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 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 Clone for ContextProperties
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ContextProperties
[src]

Formats the value using the given formatter.