HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
hi::v1::gfx_pipeline_box::device_shared Struct Referencefinal

Public Member Functions

 device_shared (gfx_device const &device)
 device_shared (device_shared const &)=delete
device_shared & operator= (device_shared const &)=delete
 device_shared (device_shared &&)=delete
device_shared & operator= (device_shared &&)=delete
void destroy (gfx_device const *vulkanDevice)
void drawInCommandBuffer (vk::CommandBuffer const &commandBuffer)

Static Public Member Functions

static void place_vertices (vector_span< vertex > &vertices, aarectangle clipping_rectangle, quad box, quad_color fill_colors, quad_color line_colors, float line_width, corner_radii corner_radii)

Data Fields

gfx_device const & device
vk::ShaderModule vertexShaderModule
vk::ShaderModule fragmentShaderModule
std::vector< vk::PipelineShaderStageCreateInfo > shaderStages

Member Function Documentation

◆ destroy()

void hi::v1::gfx_pipeline_box::device_shared::destroy ( gfx_device const * vulkanDevice)
inline

Deallocate vulkan resources. This is called in the destructor of gfx_device, therefor we can not use our device.


The documentation for this struct was generated from the following files: