☰
Uniform
Methods
count
flags
is_array
is_color
name
offset
size_in_bytes
ty
Trait Implementations
Debug
Send
Sync
In skia_safe::runtime_effect
?
Type Definition
skia_safe
::
runtime_effect
::
Uniform
source
·
[
−
]
pub type Uniform =
Handle
<
SkRuntimeEffect_Uniform
>;
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