Struct ark_api::world::SdfProgram
source · pub struct SdfProgram { /* private fields */ }Expand description
Represents an SDF program you can attach to an SdfModel component or rendered using a Render component.
Implementations§
Trait Implementations§
source§impl Clone for SdfProgram
impl Clone for SdfProgram
source§fn clone(&self) -> SdfProgram
fn clone(&self) -> SdfProgram
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 SdfProgram
impl Debug for SdfProgram
source§impl Hash for SdfProgram
impl Hash for SdfProgram
source§impl PartialEq<SdfProgram> for SdfProgram
impl PartialEq<SdfProgram> for SdfProgram
source§fn eq(&self, other: &SdfProgram) -> bool
fn eq(&self, other: &SdfProgram) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl ValueConverterTrait<SdfProgram> for ValueConverter
impl ValueConverterTrait<SdfProgram> for ValueConverter
source§fn into_value(v: SdfProgram) -> Value
fn into_value(v: SdfProgram) -> Value
Wraps the passed-in value in a
Value enum.source§fn from_value(v: &Value) -> SdfProgram
fn from_value(v: &Value) -> SdfProgram
Extracts the value from a
Value enum.