Struct dae_parser::ProfileCommon
source · pub struct ProfileCommon {
pub asset: Option<Box<Asset>>,
pub image: Vec<Image>,
pub new_param: Vec<NewParam>,
pub technique: TechniqueFx<CommonData>,
pub extra: Vec<Extra>,
}
Expand description
Opens a block of platform-independent declarations for the common, fixed-function shader.
Fields§
§asset: Option<Box<Asset>>
Asset management information about this element.
image: Vec<Image>
Declares a standard COLLADA image resource.
new_param: Vec<NewParam>
Creates a new parameter from a constrained set of
types recognizable by all platforms, see ParamType
.
technique: TechniqueFx<CommonData>
Declares the only technique for this effect.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations§
source§impl ProfileCommon
impl ProfileCommon
sourcepub fn new(technique: TechniqueFx<CommonData>) -> Self
pub fn new(technique: TechniqueFx<CommonData>) -> Self
Construct a new ProfileCommon
from the TechniqueFx
data.
Trait Implementations§
source§impl Clone for ProfileCommon
impl Clone for ProfileCommon
source§fn clone(&self) -> ProfileCommon
fn clone(&self) -> ProfileCommon
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 ProfileCommon
impl Debug for ProfileCommon
source§impl From<ProfileCommon> for Profile
impl From<ProfileCommon> for Profile
source§fn from(v: ProfileCommon) -> Self
fn from(v: ProfileCommon) -> Self
Converts to this type from the input type.