Struct dae_parser::TechniqueFx
source · [−]pub struct TechniqueFx<T> {
pub id: Option<String>,
pub sid: String,
pub asset: Option<Box<Asset>>,
pub data: T,
pub extra: Vec<Extra>,
}
Expand description
Holds a description of the textures, samplers, shaders, parameters, and passes necessary for rendering this effect using one method.
It is parameterized on additional data determined by the parent of this element.
Fields
id: Option<String>
A text string containing the unique identifier of the element.
sid: String
A text string value containing the subidentifier of this element. This value must be unique within the scope of the parent element.
asset: Option<Box<Asset>>
Asset management information about this element.
data: T
The profile-specific child data.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations
Trait Implementations
sourceimpl<T: Clone> Clone for TechniqueFx<T>
impl<T: Clone> Clone for TechniqueFx<T>
sourcefn clone(&self) -> TechniqueFx<T>
fn clone(&self) -> TechniqueFx<T>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl<T> RefUnwindSafe for TechniqueFx<T>where
T: RefUnwindSafe,
impl<T> Send for TechniqueFx<T>where
T: Send,
impl<T> Sync for TechniqueFx<T>where
T: Sync,
impl<T> Unpin for TechniqueFx<T>where
T: Unpin,
impl<T> UnwindSafe for TechniqueFx<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more