Enum gstreamer_gl::GLTextureTarget [−][src]
#[non_exhaustive]
pub enum GLTextureTarget {
None,
_2d,
Rectangle,
ExternalOes,
// some variants omitted
}Expand description
The OpenGL texture target that an OpenGL texture can be bound to. The
gst_gl_value_set_texture_target_from_mask(),
gst_gl_value_get_texture_target_mask(), and
gst_gl_value_set_texture_target() functions can be used for handling texture
targets with glib::Value’s when e.g. dealing with gst::Caps.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
no texture target
2D texture target (GL_TEXTURE_2D)
rectangle texture target
(GL_TEXTURE_RECTANGLE)
external oes texture target
(GL_TEXTURE_EXTERNAL_OES)
Implementations
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>Value type checker.
Get the contained value from a Value. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Returns the type identifier of Self.
Auto Trait Implementations
impl RefUnwindSafe for GLTextureTargetimpl Send for GLTextureTargetimpl Sync for GLTextureTargetimpl Unpin for GLTextureTargetimpl UnwindSafe for GLTextureTargetBlanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue clone of self.