Struct gstreamer_gl::GLMemoryRef [−][src]
#[repr(transparent)]pub struct GLMemoryRef(_);
Implementations
pub unsafe fn copy_into(
&self,
tex_id: u32,
target: GLTextureTarget,
tex_format: GLFormat,
width: i32,
height: i32
) -> Result<(), LoggableError>
[src]
pub unsafe fn copy_into(
&self,
tex_id: u32,
target: GLTextureTarget,
tex_format: GLFormat,
width: i32,
height: i32
) -> Result<(), LoggableError>
[src]Safety
tex_id
is not validated to be a valid GL texture, which may lead to undefined behaviour.
pub unsafe fn copy_teximage(
&self,
tex_id: u32,
out_target: GLTextureTarget,
out_tex_format: GLFormat,
out_width: i32,
out_height: i32
) -> Result<(), LoggableError>
[src]
pub unsafe fn copy_teximage(
&self,
tex_id: u32,
out_target: GLTextureTarget,
out_tex_format: GLFormat,
out_width: i32,
out_height: i32
) -> Result<(), LoggableError>
[src]Safety
tex_id
is not validated to be a valid GL texture, which may lead to undefined behaviour.
Methods from Deref<Target = GLBaseMemoryRef>
pub unsafe fn memcpy(
&self,
dest: &mut GLBaseMemory,
offset: isize,
size: isize
) -> Result<(), LoggableError>
[src]Methods from Deref<Target = MemoryRef>
Trait Implementations
Performs the conversion.
Immutably borrows from an owned value. Read more
type Target = GLBaseMemoryRef
type Target = GLBaseMemoryRef
The resulting type after dereferencing.
type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
type GlibType = *mut GstGLMemory
Returns the type identifier of Self
.