Enum gltf::image::Data [] [src]

pub enum Data<'a> {
    FromBufferView {
        buffer_view: Loaded<'a, View<'a>>,
        mime_type: &'a str,
    },
    External {
        uri: &'a str,
        mime_type: Option<&'a str>,
    },
}

Return type of Loaded<Image>::data.

Variants

Image data is contained in a buffer view.

Fields of FromBufferView

The buffer view containing the encoded image data.

The image data MIME type.

Image data is contained in an external data source.

Fields of External

The URI of the external data source.

The image data MIME type, if provided.