|
|
gfx_device const & | device |
| |
|
vk::ShaderModule | vertex_shader_module |
| |
|
vk::ShaderModule | fragment_shader_module |
| |
|
std::vector< vk::PipelineShaderStageCreateInfo > | shader_stages |
| |
|
texture_map | staging_texture |
| |
|
std::vector< texture_map > | atlas_textures |
| |
|
std::array< vk::DescriptorImageInfo, atlas_maximum_num_images > | atlas_descriptor_image_infos |
| |
|
vk::Sampler | atlas_sampler |
| |
|
vk::DescriptorImageInfo | atlas_sampler_descriptor_image_info |
| |
◆ allocate_pages()
Allocate pages from the atlas.
◆ destroy()
| hi_inline void hi::v1::gfx_pipeline_image::device_shared::destroy |
( |
gfx_device const * | vulkanDevice | ) |
|
Deallocate vulkan resources. This is called in the destructor of gfx_device, therefor we can not use our gfx_device from this point on.
◆ free_pages()
Deallocate pages back to the atlas.
◆ get_staging_pixmap()
| hi_inline hi::pixmap_span< sfloat_rgba16 > hi::v1::gfx_pipeline_image::device_shared::get_staging_pixmap |
( |
| ) |
|
Get the full staging pixel map excluding border.
The returned pixel-map is offset by the page::border.
◆ place_vertices()
Place vertices for a single image.
- Precondition
- The image is uploaded.
- Parameters
-
| vertices | The list of vertices to add to. |
| clipping_rectangle | The rectangle to clip the glyph. |
| box | The rectangle of the image in window coordinates. |
| image | The image to render. |
◆ prepare_atlas_for_rendering()
| hi_inline void hi::v1::gfx_pipeline_image::device_shared::prepare_atlas_for_rendering |
( |
| ) |
|
Prepare the atlas so that it can be used as a texture map by the shaders.
The documentation for this struct was generated from the following files: