class Texture

Defined at line 15 of file ../../src/ui/lib/escher/vk/texture.h

Public Members

static const ResourceTypeInfo kTypeInfo

Public Methods

const ResourceTypeInfo & type_info ()

Defined at line 18 of file ../../src/ui/lib/escher/vk/texture.h

void Texture (ResourceRecycler * recycler, SamplerPtr sampler, ImagePtr image, vk::ImageAspectFlags aspect_mask)

Defined at line 38 of file ../../src/ui/lib/escher/vk/texture.cc

void ~Texture ()

Defined at line 44 of file ../../src/ui/lib/escher/vk/texture.cc

TexturePtr New (ResourceRecycler * resource_recycler, ImagePtr image, vk::Filter filter, vk::ImageAspectFlags aspect_mask, bool use_unnormalized_coordinates)

Construct a new Texture, which encapsulates a newly-created VkImageView and

VkSampler. |aspect_mask| is used to create the VkImageView, and |filter|

and |use_unnormalized_coordinates| are used to create the VkSampler.

|resource_recycler| guarantees that the underlying Vulkan resources are not

destroyed while still referenced by a pending command buffer.

Defined at line 18 of file ../../src/ui/lib/escher/vk/texture.cc

vk::Image vk_image ()

Defined at line 33 of file ../../src/ui/lib/escher/vk/texture.h

vk::ImageView vk_image_view ()

Defined at line 34 of file ../../src/ui/lib/escher/vk/texture.h

const SamplerPtr & sampler ()

Defined at line 35 of file ../../src/ui/lib/escher/vk/texture.h

uint32_t sample_count ()

Defined at line 37 of file ../../src/ui/lib/escher/vk/texture.h

bool is_yuv_format ()

Defined at line 39 of file ../../src/ui/lib/escher/vk/texture.h