skia_
safe
0.81.0
Uniform
Aliased type
Methods
count
flags
is_array
is_color
name
offset
size_in_bytes
ty
Trait Implementations
Debug
Send
Sync
In skia_
safe::
runtime_
effect
skia_safe
::
runtime_effect
Type Alias
Uniform
Copy item path
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