Struct webrender_api::display_item::FilterOpGraphNode
source · #[repr(C)]pub struct FilterOpGraphNode {
pub linear: bool,
pub input: FilterOpGraphPictureReference,
pub input2: FilterOpGraphPictureReference,
pub subregion: LayoutRect,
}
Fields§
§linear: bool
True if color_interpolation_filter == LinearRgb; shader will convert sRGB texture pixel colors on load and convert back on store, for correct interpolation
input: FilterOpGraphPictureReference
virtualized picture input binding 1 (i.e. texture source), typically this is used, but certain filters do not use it
input2: FilterOpGraphPictureReference
virtualized picture input binding 2 (i.e. texture sources), only certain filters use this
subregion: LayoutRect
rect this node will render into, in filter space
Trait Implementations§
source§impl Clone for FilterOpGraphNode
impl Clone for FilterOpGraphNode
source§fn clone(&self) -> FilterOpGraphNode
fn clone(&self) -> FilterOpGraphNode
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 FilterOpGraphNode
impl Debug for FilterOpGraphNode
source§impl Default for FilterOpGraphNode
impl Default for FilterOpGraphNode
source§fn default() -> FilterOpGraphNode
fn default() -> FilterOpGraphNode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FilterOpGraphNode
impl<'de> Deserialize<'de> for FilterOpGraphNode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Peek for FilterOpGraphNode
impl Peek for FilterOpGraphNode
source§impl Poke for FilterOpGraphNode
impl Poke for FilterOpGraphNode
source§impl Serialize for FilterOpGraphNode
impl Serialize for FilterOpGraphNode
impl Copy for FilterOpGraphNode
Auto Trait Implementations§
impl Freeze for FilterOpGraphNode
impl RefUnwindSafe for FilterOpGraphNode
impl Send for FilterOpGraphNode
impl Sync for FilterOpGraphNode
impl Unpin for FilterOpGraphNode
impl UnwindSafe for FilterOpGraphNode
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)