#[non_exhaustive]#[repr(u32)]pub enum ProgramParameter {
Show 18 variants
DeleteStatus = 35_712,
LinkStatus = 35_714,
ValidateStatus = 35_715,
InfoLogLength = 35_716,
AttachedShaders = 35_717,
ActiveAtomicCounterBuffers = 37_593,
ActiveAttributes = 35_721,
ActiveAttributeMaxLength = 35_722,
ActiveUniforms = 35_718,
ActiveUniformMaxLength = 35_719,
ProgramBinaryLength = 34_625,
ComputeWorkGroupSize = 33_383,
TransformFeedbackBufferMode = 35_967,
TransformFeedbackVaryings = 35_971,
TransformFeedbackVaryingMaxLength = 35_958,
GeometryVerticesOut = 35_094,
GeometryInputType = 35_095,
GeometryOutputType = 35_096,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DeleteStatus = 35_712
LinkStatus = 35_714
ValidateStatus = 35_715
InfoLogLength = 35_716
AttachedShaders = 35_717
ActiveAtomicCounterBuffers = 37_593
ActiveAttributes = 35_721
ActiveAttributeMaxLength = 35_722
ActiveUniforms = 35_718
ActiveUniformMaxLength = 35_719
ProgramBinaryLength = 34_625
ComputeWorkGroupSize = 33_383
TransformFeedbackBufferMode = 35_967
TransformFeedbackVaryings = 35_971
TransformFeedbackVaryingMaxLength = 35_958
GeometryVerticesOut = 35_094
GeometryInputType = 35_095
GeometryOutputType = 35_096
Trait Implementations§
Source§impl Clone for ProgramParameter
impl Clone for ProgramParameter
Source§fn clone(&self) -> ProgramParameter
fn clone(&self) -> ProgramParameter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProgramParameter
impl Debug for ProgramParameter
Source§impl From<ProgramParameter> for u32
impl From<ProgramParameter> for u32
Source§fn from(enum_value: ProgramParameter) -> Self
fn from(enum_value: ProgramParameter) -> Self
Converts to this type from the input type.
Source§impl Hash for ProgramParameter
impl Hash for ProgramParameter
Source§impl Ord for ProgramParameter
impl Ord for ProgramParameter
Source§fn cmp(&self, other: &ProgramParameter) -> Ordering
fn cmp(&self, other: &ProgramParameter) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ProgramParameter
impl PartialEq for ProgramParameter
Source§impl PartialOrd for ProgramParameter
impl PartialOrd for ProgramParameter
impl Copy for ProgramParameter
impl Eq for ProgramParameter
impl StructuralPartialEq for ProgramParameter
Auto Trait Implementations§
impl Freeze for ProgramParameter
impl RefUnwindSafe for ProgramParameter
impl Send for ProgramParameter
impl Sync for ProgramParameter
impl Unpin for ProgramParameter
impl UnwindSafe for ProgramParameter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more