Struct feo_oop_engine::components::texture::Texture
source · [−]pub struct Texture {
pub img_view: Arc<ImageView<Arc<ImmutableImage<Format, PotentialDedicatedAllocation<StdMemoryPoolAlloc>>>>>,
pub sampler: Arc<Sampler>,
}Expand description
A texture is an image that helps describe the surface of a model
Fields
img_view: Arc<ImageView<Arc<ImmutableImage<Format, PotentialDedicatedAllocation<StdMemoryPoolAlloc>>>>>sampler: Arc<Sampler>Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Texture
impl UnwindSafe for Texture
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.