35 class VSGIMGUI_DECLSPEC
Texture :
public vsg::Inherit<vsg::Compilable, Texture>
38 Texture(vsg::ref_ptr<vsg::Data> data = {}, vsg::ref_ptr<vsg::Sampler> sampler = {});
40 void compile(vsg::Context& context)
override;
43 ImTextureID
id(uint32_t deviceID)
const;
45 vsg::ref_ptr<vsg::DescriptorSet> descriptorSet;
Texture adapter that uses a DescriptorSet/DescriptorImage to hold a texture image on the GPU in a for...
Definition Texture.h:36
ImTextureID id(uint32_t deviceID) const
get the ImTextureID used with ImGui::Image(..) calls