skia_safe::runtime_effect

Type Alias Uniform

Source
pub type Uniform = Handle<SkRuntimeEffect_Uniform>;

Aliased Type§

struct Uniform(/* private fields */);

Implementations§

Source§

impl Uniform

Source

pub fn name(&self) -> &str

Source

pub fn offset(&self) -> usize

Source

pub fn ty(&self) -> Type

Source

pub fn count(&self) -> i32

Source

pub fn flags(&self) -> Flags

Source

pub fn is_array(&self) -> bool

Source

pub fn is_color(&self) -> bool

Source

pub fn size_in_bytes(&self) -> usize

Trait Implementations§

Source§

impl Debug for Uniform

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Send for Uniform

Source§

impl Sync for Uniform