Struct pill_engine::game::Texture [−][src]
pub struct Texture {
pub name: String,
pub load_type: ResourceLoadType,
pub texture_type: TextureType,
// some fields omitted
}
Fields
name: String
load_type: ResourceLoadType
texture_type: TextureType
Implementations
pub fn new(
name: &str,
texture_type: TextureType,
resource_load_type: ResourceLoadType
) -> Self
Trait Implementations
type Storage = ResourceStorage<Texture>
type Storage = ResourceStorage<Texture>
Defines the value type that corresponds to this PillTypeMapKey
.