[−][src]Struct qt_gui::q_opengl_texture::WrapMode
This enum defines the possible texture coordinate wrapping modes.
C++ enum: QOpenGLTexture::WrapMode
.
This enum defines the possible texture coordinate wrapping modes.
Methods
impl WrapMode
[src]
impl WrapMode
[src]
pub const Repeat: WrapMode
[src]
Texture coordinate is repeated. Equivalent to GL_REPEAT (C++ enum variant: Repeat = 10497
)
pub const MirroredRepeat: WrapMode
[src]
Texture coordinate is reflected about 0 and 1. Equivalent to GL_MIRRORED_REPEAT (C++ enum variant: MirroredRepeat = 33648
)
pub const ClampToEdge: WrapMode
[src]
Clamps the texture coordinates to [0,1]. Equivalent to GL_CLAMP_TO_EDGE (C++ enum variant: ClampToEdge = 33071
)
pub const ClampToBorder: WrapMode
[src]
As for ClampToEdge but also blends samples at 0 and 1 with a fixed border color. Equivalent to GL_CLAMP_TO_BORDER (C++ enum variant: ClampToBorder = 33069
)
Trait Implementations
impl Clone for WrapMode
[src]
impl Copy for WrapMode
[src]
impl Debug for WrapMode
[src]
impl Eq for WrapMode
[src]
impl From<WrapMode> for c_int
[src]
impl From<i32> for WrapMode
[src]
impl PartialEq<WrapMode> for WrapMode
[src]
impl StructuralEq for WrapMode
[src]
impl StructuralPartialEq for WrapMode
[src]
Auto Trait Implementations
impl RefUnwindSafe for WrapMode
impl Send for WrapMode
impl Sync for WrapMode
impl Unpin for WrapMode
impl UnwindSafe for WrapMode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,