#[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 copy 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 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