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]

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 a Display pointer for the WGL HDC (builder-style).

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

Specifies a pointer for the EGL display (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 a Display pointer for the WGL HDC.

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

Specifies a pointer for the EGL display.

Pushes a ContextPropertyValue onto this list of properties.

Returns a platform id or none.

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

Important traits for Vec<u8>

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. Read more

impl From<ContextProperties> for Vec<isize>
[src]

Important traits for Vec<u8>

Performs the conversion.

Auto Trait Implementations