pub struct BindM {
pub semantic: Option<String>,
pub target: Address,
}
Expand description
Binds values to uniform inputs of a shader or binds values to effect
parameters upon instantiation.
In the COLLADA spec, this element is called “<bind>
(material)”.
Fields§
§semantic: Option<String>
Which effect parameter to bind.
target: Address
The location of the value to bind to the specified semantic.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BindM
impl RefUnwindSafe for BindM
impl Send for BindM
impl Sync for BindM
impl Unpin for BindM
impl UnwindSafe for BindM
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