Type Definition amethyst_ui::UiPrefab[][src]

type UiPrefab<I = TextureFormat, F = FontFormat> = Prefab<(Option<UiTransformBuilder>, Option<UiImageBuilder<I>>, Option<UiTextBuilder<F>>)>;

Ui prefab

Type parameters:

Trait Implementations

impl<I, F> SimpleFormat<UiPrefab<I, F>> for UiFormat where
    I: Format<Texture, Options = TextureMetadata> + Sync + for<'a> Deserialize<'a>,
    F: Format<FontAsset, Options = ()> + Sync + for<'a> Deserialize<'a>, 
[src]

NAME: &'static str = "Ui"

A unique identifier for this format.

Options specific to the format, which are passed to import. E.g. for textures this would be stuff like mipmap levels and sampler info. Read more

Produces asset data from given bytes.