Enum rin::gl::Property [−][src]
pub enum Property {
Show variants
Blend(bool),
ClipDistance(Vec<u32, Global>),
ClipControl(u32, u32),
ColorLogicOp(Option<u32>),
CullFace(Option<u32>),
FrontFace(u32),
_DebugOutput(Option<DebugAsyncFn>),
_DebugOutputSynchronous(Option<DebugSyncFn>),
DepthClamp(bool),
DepthTest(bool),
Dither(bool),
LineSmooth(bool),
Multisample(bool),
PolygonOffsetFill(Option<(f32, f32)>),
PolygonOffsetLine(Option<(f32, f32)>),
PolygonOffsetPoint(Option<(f32, f32)>),
PolygonSmooth(bool),
RasterizerDiscard(bool),
SampleAlphaToCoverage(bool),
SampleAlphaToOne(bool),
SampleCoverage(Option<(f32, bool)>),
StencilMask(u32),
Scissor(Option<Rect>),
StencilTest(bool),
StencilFunc(u32, i32, u32),
StencilOp(u32, u32, u32),
ProgramPointSize(bool),
ClearColor([f32; 4]),
ClearDepth(f32),
ClearStencil(i32),
ColorMask([bool; 4]),
TextureCubemapSeamless(bool),
BlendEquation(u32),
BlendFunc(u32, u32),
BlendFuncSeparate(u32, u32, u32, u32),
BlendColor([f32; 4]),
DepthFunc(u32),
DepthMask(bool),
DepthRange(f32, f32),
LineWidth(f32),
PointSize(f32),
PolygonMode(u32),
Viewport(Rect),
_BufferBaseBinding {
target: u32,
index: u32,
binding: BufferRangeBind,
},
}Variants
Blend(bool)FrontFace(u32)_DebugOutput(Option<DebugAsyncFn>)_DebugOutputSynchronous(Option<DebugSyncFn>)DepthClamp(bool)DepthTest(bool)Dither(bool)LineSmooth(bool)Multisample(bool)PolygonSmooth(bool)RasterizerDiscard(bool)SampleAlphaToCoverage(bool)SampleAlphaToOne(bool)StencilMask(u32)StencilTest(bool)ProgramPointSize(bool)ClearDepth(f32)ClearStencil(i32)TextureCubemapSeamless(bool)BlendEquation(u32)DepthFunc(u32)DepthMask(bool)LineWidth(f32)PointSize(f32)PolygonMode(u32)Viewport(Rect)Implementations
impl Property[src]
impl Property[src]pub fn DebugOutputSynchronous<F>(f: F) -> Property where
F: 'static + Fn(DebugInfo), [src]
F: 'static + Fn(DebugInfo),
pub fn DebugOutputAsynchronous<F>(f: F) -> Property where
F: 'static + Fn(DebugInfo) + Send + Sync, [src]
F: 'static + Fn(DebugInfo) + Send + Sync,
pub fn DebugOutputStdoutSynchronous(minseverity: DebugSeverity) -> Property[src]
pub fn DebugOutputStdoutAsynchronous(minseverity: DebugSeverity) -> Property[src]
pub fn DebugOutputStderrSynchronous(minseverity: DebugSeverity) -> Property[src]
pub fn DebugOutputStderrAsynchronous(minseverity: DebugSeverity) -> Property[src]
pub fn DebugOutputDisabled() -> Property[src]
pub fn BufferBaseBinding<T, B>(target: u32, index: u32, buffer: B) -> Property where
B: BufferRange<T>, [src]
B: BufferRange<T>,
Trait Implementations
impl PartialOrd<Property> for Property[src]
impl PartialOrd<Property> for Property[src]pub fn partial_cmp(&self, other: &Property) -> Option<Ordering>[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl Eq for Property[src]
impl StructuralPartialEq for Property[src]
Auto Trait Implementations
impl !RefUnwindSafe for Property
impl !Send for Property
impl !Sync for Property
impl Unpin for Property
impl !UnwindSafe for Property
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync, [src]
impl<T> DowncastSync for T where
T: Any + Send + Sync, [src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]pub fn equivalent(&self, key: &K) -> bool[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]pub fn to_subset(&self) -> Option<SS>[src]
pub fn is_in_subset(&self) -> bool[src]
pub fn to_subset_unchecked(&self) -> SS[src]
pub fn from_subset(element: &SS) -> SP[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]