PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
pixelbullet::ImGuiLayer::Impl Struct Reference

Classes

struct  CachedRenderTargetTexture

Public Member Functions

 Impl (Window &window_in, Graphics &graphics_in)
 Impl (Window &window_in, Graphics &graphics_in, std::filesystem::path settings_path_in)
void OnAttach ()
void OnDetach ()
EventResult OnEvent (Event &event)
bool BeginUiFrame ()
void CancelUiFrame ()
bool Begin ()
void CancelFrame ()
void End (VkCommandBuffer command_buffer)
ImTextureID GetImageTexture (const Image2D &image)
ImTextureID GetRenderTargetTexture (std::string_view name)
void SetAppearance (const ImGuiAppearanceConfig &appearance)
void SetTheme ()
void SetSettingsPath (std::filesystem::path settings_path_in)
void ClearSettings ()
void LoadSettingsFromDisk (const std::filesystem::path &settings_path_in)
void SaveSettings ()
void SaveSettingsToDisk (const std::filesystem::path &settings_path_in)
uint32_t GetActiveWidgetID () const
ImFont * GetMonospaceFont () const noexcept
void BlockEvents (bool block) noexcept
void ApplyAppearance (const ImGuiAppearanceConfig &appearance)
void ApplySettingsPath ()
bool EnsureVulkanInitialized ()
void RestoreMainViewportPlatformHandles ()
void CreateDescriptorPool (VkDevice device)
void DestroySampledImageTextures ()
void DestroyRenderTargetTextures ()

Public Attributes

bool block_events = true
Windowwindow
Graphicsgraphics
VkDescriptorPool descriptor_pool = VK_NULL_HANDLE
VkRenderPass render_pass = VK_NULL_HANDLE
uint32_t image_count = 0
bool vulkan_initialized = false
bool frame_started = false
bool appearance_dirty = false
std::map< application_layers_internal::SampledImageTextureKey, VkDescriptorSet > sampled_image_textures
std::map< std::string, CachedRenderTargetTexturerender_target_textures
ImGuiAppearanceConfig appearance_config {}
ImFont * default_font = nullptr
ImFont * mono_font = nullptr
std::filesystem::path settings_path
std::string settings_filename

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