Struct dae_parser::TechniqueFx[][src]

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

Construct a new TechniqueFx given the profile-specific data.

Construct a new TechniqueFx with default data.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.