Struct ocl_core::types::structs::ContextProperties [] [src]

pub struct ContextProperties { /* fields omitted */ }

Context properties list.

[MINIMALLY TESTED]

TODO: Check for duplicate property assignments.

Methods

impl ContextProperties
[src]

[src]

Returns an empty new list of context properties

[src]

Specifies a platform (builder-style).

[src]

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

[src]

Specifies an OpenGL context handle (builder-style).

[src]

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

[src]

Specifies a Display pointer for the WGL HDC (builder-style).

[src]

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

[src]

Specifies a pointer for the EGL display (builder-style).

[src]

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

[src]

Specifies a platform.

[src]

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

[src]

Specifies an OpenGL context handle.

[src]

Specifies a Display pointer for the GLX context.

[src]

Specifies a Display pointer for the WGL HDC.

[src]

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

[src]

Specifies a pointer for the EGL display.

[src]

Pushes a ContextPropertyValue onto this list of properties.

[src]

Returns a platform id or none.

[src]

Deprecated since 0.6.0

: Use ::contains_gl_context_or_sharegroup.

Returns a cgl_sharegroup id or none.

[src]

Returns true if this set of context properties specifies any OpenGL context or sharegroup to associate with.

[src]

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

[src]

Returns a single context property value.

[src]

Converts raw stuff into other stuff.

Trait Implementations

impl Clone for ContextProperties
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ContextProperties
[src]

[src]

Formats the value using the given formatter.