Trait gfx_core::format::SurfaceTyped [] [src]

pub trait SurfaceTyped {
    type DataType: Pod;
    fn get_surface_type() -> SurfaceType;
}

Compile-time surface type trait.

Associated Types

The corresponding data type to be passed from CPU.

Required Methods

Return the run-time value of the type.

Implementors