vsgImGui 0.7.0
VulkanSceneGraph, ImGui and ImPlot integration library
Loading...
Searching...
No Matches
vsgImGui::Texture Class Reference

Texture adapter that uses a DescriptorSet/DescriptorImage to hold a texture image on the GPU in a form that ImGui can use. More...

#include <Texture.h>

Inheritance diagram for vsgImGui::Texture:
Collaboration diagram for vsgImGui::Texture:

Public Member Functions

 Texture (vsg::ref_ptr< vsg::Data > data={}, vsg::ref_ptr< vsg::Sampler > sampler={})
void compile (vsg::Context &context) override
ImTextureID id (uint32_t deviceID) const
 get the ImTextureID used with ImGui::Image(..) calls

Public Attributes

vsg::ref_ptr< vsg::DescriptorSet > descriptorSet
uint32_t height = 0
uint32_t width = 0

Detailed Description

Texture adapter that uses a DescriptorSet/DescriptorImage to hold a texture image on the GPU in a form that ImGui can use.


The documentation for this class was generated from the following file: