KiCad PCB EDA Suite
Loading...
Searching...
No Matches
RHI_CMD_SWAPCHAIN_CREATE Struct Reference

#include <rhi_control_commands.h>

Public Attributes

RHI_WINDOW_ID windowId = 0
 
RHI_NATIVE_WINDOW_HANDLE nativeHandle
 
uint32_t width = 0
 
uint32_t height = 0
 
float dpiScale = 1.0f
 
KIGFX::FRAME_MAILBOX * frame2DMailbox = nullptr
 Owned by the panel.
 

Detailed Description

Definition at line 50 of file rhi_control_commands.h.

Member Data Documentation

◆ dpiScale

float RHI_CMD_SWAPCHAIN_CREATE::dpiScale = 1.0f

◆ frame2DMailbox

KIGFX::FRAME_MAILBOX* RHI_CMD_SWAPCHAIN_CREATE::frame2DMailbox = nullptr

Owned by the panel.

Definition at line 59 of file rhi_control_commands.h.

Referenced by KIGFX::RENDER_THREAD::HandleSwapchainCreate(), and KIGFX::SWAPCHAIN_CONTROLLER::OnPaint().

◆ height

uint32_t RHI_CMD_SWAPCHAIN_CREATE::height = 0

◆ nativeHandle

RHI_NATIVE_WINDOW_HANDLE RHI_CMD_SWAPCHAIN_CREATE::nativeHandle

◆ width

uint32_t RHI_CMD_SWAPCHAIN_CREATE::width = 0

◆ windowId

RHI_WINDOW_ID RHI_CMD_SWAPCHAIN_CREATE::windowId = 0

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