Struct skia_bindings::GrMockOptions
source · #[repr(C)]pub struct GrMockOptions {Show 17 fields
pub fMipmapSupport: bool,
pub fDrawInstancedSupport: bool,
pub fHalfFloatVertexAttributeSupport: bool,
pub fMapBufferFlags: u32,
pub fMaxTextureSize: c_int,
pub fMaxRenderTargetSize: c_int,
pub fMaxWindowRectangles: c_int,
pub fMaxVertexAttributes: c_int,
pub fConfigOptions: [GrMockOptions_ConfigOptions; 32],
pub fCompressedOptions: [GrMockOptions_ConfigOptions; 4],
pub fIntegerSupport: bool,
pub fFlatInterpolationSupport: bool,
pub fMaxVertexSamplers: c_int,
pub fMaxFragmentSamplers: c_int,
pub fShaderDerivativeSupport: bool,
pub fDualSourceBlendingSupport: bool,
pub fFailTextureAllocations: bool,
}
Fields§
§fMipmapSupport: bool
§fDrawInstancedSupport: bool
§fHalfFloatVertexAttributeSupport: bool
§fMapBufferFlags: u32
§fMaxTextureSize: c_int
§fMaxRenderTargetSize: c_int
§fMaxWindowRectangles: c_int
§fMaxVertexAttributes: c_int
§fConfigOptions: [GrMockOptions_ConfigOptions; 32]
§fCompressedOptions: [GrMockOptions_ConfigOptions; 4]
§fIntegerSupport: bool
§fFlatInterpolationSupport: bool
§fMaxVertexSamplers: c_int
§fMaxFragmentSamplers: c_int
§fShaderDerivativeSupport: bool
§fDualSourceBlendingSupport: bool
§fFailTextureAllocations: bool
Trait Implementations§
source§impl Clone for GrMockOptions
impl Clone for GrMockOptions
source§fn clone(&self) -> GrMockOptions
fn clone(&self) -> GrMockOptions
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 GrMockOptions
impl Debug for GrMockOptions
impl Copy for GrMockOptions
Auto Trait Implementations§
impl RefUnwindSafe for GrMockOptions
impl Send for GrMockOptions
impl Sync for GrMockOptions
impl Unpin for GrMockOptions
impl UnwindSafe for GrMockOptions
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