vsgImGui: vsgImGui::Texture Class Reference

vsgImGui 0.7.0 VulkanSceneGraph, ImGui and ImPlot integration library |

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
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:
[legend]
Collaboration diagram for vsgImGui::Texture:
[legend]

## 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:

- include/vsgImGui/Texture.h