struct ImGui_ImplWGPU_Data

Overview

struct ImGui_ImplWGPU_Data
{
    // fields

    ImGui_ImplWGPU_InitInfo initInfo;
    WGPUDevice wgpuDevice = nullptr;
    WGPUQueue defaultQueue = nullptr;
    WGPUTextureFormat renderTargetFormat = WGPUTextureFormat_Undefined;
    WGPUTextureFormat depthStencilFormat = WGPUTextureFormat_Undefined;
    WGPURenderPipeline pipelineState = nullptr;
    RenderResources renderResources;
    FrameResources* pFrameResources = nullptr;
    unsigned int numFramesInFlight = 0;
    unsigned int frameIndex = UINT_MAX;
};