# ocl_core::create_from_gl_renderbuffer - Rust
API documentation for the Rust `create_from_gl_renderbuffer` fn in crate `ocl_core`.
Keywords: rust, rustlang, rust-lang, create_from_gl_renderbuffer

# Function ocl_core::create_from_gl_renderbuffer [−] [src]

    pub unsafe fn create_from_gl_renderbuffer<C>(
        context: C,
        renderbuffer: cl_GLuint,
        flags: MemFlags
    ) -> OclCoreResult<Mem> where
        C: ClContextPtr,

Return a renderbuffer pointer from a `OpenGL` renderbuffer object.

## Safety

The caller must ensure that correct and appropriate `flags` are being used.

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)