#[repr(C)]pub struct FilterChainOptionsGL {
pub glsl_version: u16,
pub use_dsa: bool,
pub force_no_mipmaps: bool,
pub disable_cache: bool,
}Expand description
Options for filter chain creation.
Fields§
§glsl_version: u16The GLSL version. Should be at least 330.
use_dsa: boolWhether or not to use the Direct State Access APIs. Only available on OpenGL 4.5+. If this is off, compiled program caching will not be available.
force_no_mipmaps: boolWhether or not to explicitly disable mipmap generation regardless of shader preset settings.
disable_cache: boolDisable the shader object cache. Shaders will be recompiled rather than loaded from the cache.
Trait Implementations§
Source§impl Clone for FilterChainOptionsGL
impl Clone for FilterChainOptionsGL
Source§fn clone(&self) -> FilterChainOptionsGL
fn clone(&self) -> FilterChainOptionsGL
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 FilterChainOptionsGL
impl Debug for FilterChainOptionsGL
Source§impl Default for FilterChainOptionsGL
impl Default for FilterChainOptionsGL
Source§fn default() -> FilterChainOptionsGL
fn default() -> FilterChainOptionsGL
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FilterChainOptionsGL
impl RefUnwindSafe for FilterChainOptionsGL
impl Send for FilterChainOptionsGL
impl Sync for FilterChainOptionsGL
impl Unpin for FilterChainOptionsGL
impl UnwindSafe for FilterChainOptionsGL
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more