• Qt GUI 私有 C++ 类

    Provides access to private GUI functionality. 更多...

    QRhi

    加速 2D/3D 图形的 API 抽象

    QRhiAdapter

    Represents a physical graphics device

    QRhiBuffer

    Vertex, index, or uniform (constant) buffer resource

    QRhiBuffer::NativeBuffer

    Contains information about the underlying native resources of a buffer

    QRhiColorAttachment

    Describes the a single color attachment of a render target

    QRhiCommandBuffer

    Command buffer resource

    QRhiComputePipeline

    Compute pipeline state resource

    QRhiD3D11InitParams

    Direct3D 11 specific initialization parameters

    QRhiD3D11NativeHandles

    Holds the D3D device and device context used by the QRhi

    QRhiD3D12CommandBufferNativeHandles

    Holds the ID3D12GraphicsCommandList1 object that is backing a QRhiCommandBuffer

    QRhiD3D12InitParams

    Direct3D 12 specific initialization parameters

    QRhiD3D12NativeHandles

    Holds the D3D12 device used by the QRhi

    QRhiDepthStencilClearValue

    Specifies clear values for a depth or stencil buffer

    QRhiDriverInfo

    Describes the physical device, adapter, or graphics API implementation that is used by an initialized QRhi

    QRhiGles2InitParams

    OpenGL specific initialization parameters

    QRhiGles2NativeHandles

    Holds the OpenGL context used by the QRhi

    QRhiGraphicsPipeline

    Graphics pipeline state resource

    QRhiGraphicsPipeline::StencilOpState

    Describes the stencil operation state

    QRhiGraphicsPipeline::TargetBlend

    Describes the blend state for one color attachment

    QRhiInitParams

    Base class for backend-specific initialization parameters

    QRhiMetalCommandBufferNativeHandles

    Holds the MTLCommandBuffer and MTLRenderCommandEncoder objects that are backing a QRhiCommandBuffer

    QRhiMetalInitParams

    Metal specific initialization parameters

    QRhiMetalNativeHandles

    Holds the Metal device used by the QRhi

    QRhiNativeHandles

    Base class for classes exposing backend-specific collections of native resource objects

    QRhiNullInitParams

    Null backend specific initialization parameters

    QRhiNullNativeHandles

    Empty

    QRhiReadbackDescription

    Describes a readback (reading back texture contents from possibly GPU-only memory) operation

    QRhiReadbackResult

    Describes the results of a potentially asynchronous buffer or texture readback operation

    QRhiRenderBuffer

    Renderbuffer 资源

    QRhiRenderBuffer::NativeRenderBuffer

    Wraps a native renderbuffer object

    QRhiRenderPassDescriptor

    Render pass resource

    QRhiRenderTarget

    Represents an onscreen (swapchain) or offscreen (texture) render target

    QRhiResource

    Base class for classes encapsulating native resource objects

    QRhiResourceUpdateBatch

    Records upload and copy type of operations

    QRhiSampler

    Sampler resource

    QRhiScissor

    Specifies a scissor rectangle

    QRhiShaderResourceBinding

    Describes the shader resource for a single binding point

    QRhiShaderResourceBindings

    Encapsulates resources for making buffer, texture, sampler resources visible to shaders

    QRhiShaderStage

    Specifies the type and the shader code for a shader stage in the pipeline

    QRhiShadingRateMap

    An object that wraps a texture or another kind of native 3D API object

    QRhiShadingRateMap::NativeShadingRateMap

    Wraps a native shading rate map

    QRhiStats

    Statistics provided from the underlying memory allocator

    QRhiSwapChain

    Swapchain resource

    QRhiSwapChainHdrInfo

    Describes the high dynamic range related information of the swapchain's associated output

    QRhiSwapChainProxyData

    Opaque data describing native objects needed to set up a swapchain

    QRhiSwapChainRenderTarget

    Swapchain render target resource

    QRhiTexture

    Texture resource

    QRhiTexture::NativeTexture

    Contains information about the underlying native resources of a texture

    QRhiTexture::ViewFormat

    Specifies the view format for reading or writing from or to the texture

    QRhiTextureCopyDescription

    Describes a texture-to-texture copy operation

    QRhiTextureRenderTarget

    Texture render target resource

    QRhiTextureRenderTargetDescription

    Describes the color and depth or depth/stencil attachments of a render target

    QRhiTextureSubresourceUploadDescription

    Describes the source for one mip level in a layer in a texture upload operation

    QRhiTextureUploadDescription

    Describes a texture upload operation

    QRhiTextureUploadEntry

    Describes one layer (face for cubemaps, slice for 3D textures, element for texture arrays) in a texture upload operation

    QRhiVertexInputAttribute

    Describes a single vertex input element

    QRhiVertexInputBinding

    Describes a vertex input binding

    QRhiVertexInputLayout

    Describes the layout of vertex inputs consumed by a vertex shader

    QRhiViewport

    Specifies a viewport rectangle

    QRhiVulkanCommandBufferNativeHandles

    Holds the Vulkan command buffer object that is backing a QRhiCommandBuffer

    QRhiVulkanInitParams

    Vulkan specific initialization parameters

    QRhiVulkanNativeHandles

    Collects device, queue, and other Vulkan objects that are used by the QRhi

    QRhiVulkanRenderPassNativeHandles

    Holds the Vulkan render pass object backing a QRhiRenderPassDescriptor

    详细描述

    使用下列 CMake 命令在 CMakeLists.txt 以访问私有 Qt GUI API:

    find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
    target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
    			

    内容

    1. 名称空间

    2. 详细描述