Qt Rendering Hardware Interface C++ Classes

Classes

QShaderDescription::BlockVariable

Describes a member of a uniform or push constant block

QRhiProfiler::CpuTime

Contains CPU-side frame timings

QRhiProfiler::GpuTime

Contains GPU-side frame timings

QShaderDescription::InOutVariable

Describes an input or output variable in the shader

QShaderDescription::PushConstantBlock

Describes a push constant block

QRhi

Accelerated 2D/3D graphics API abstraction

QRhiBuffer

Vertex, index, or uniform (constant) buffer resource

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

QRhiD3D11TextureNativeHandles

Holds the D3D texture object that is backing a QRhiTexture instance

QRhiDepthStencilClearValue

Specifies clear values for a depth or stencil buffer

QRhiGles2InitParams

OpenGL specific initialization parameters

QRhiGles2NativeHandles

Holds the OpenGL context used by the QRhi

QRhiGles2TextureNativeHandles

Holds the OpenGL texture object that is backing a QRhiTexture instance

QRhiGraphicsPipeline

Graphics pipeline state resource

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

QRhiMetalTextureNativeHandles

Holds the Metal texture object that is backing a QRhiTexture instance

QRhiNativeHandles

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

QRhiNullInitParams

Null backend specific initialization parameters

QRhiNullNativeHandles

Empty

QRhiNullTextureNativeHandles

Empty

QRhiProfiler

Collects resource and timing information from an active QRhi

QRhiReadbackDescription

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

QRhiReadbackResult

Describes the results of a potentially asynchronous readback operation

QRhiRenderBuffer

Renderbuffer resource

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

QRhiSwapChain

Swapchain resource

QRhiTexture

Texture resource

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) 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

QRhiVulkanTextureNativeHandles

Holds the Vulkan image object that is backing a QRhiTexture

QShader

Contains multiple versions of a shader translated to multiple shading languages, together with reflection metadata

QShaderCode

Contains source or binary code for a shader and additional metadata

QShaderDescription

Describes the interface of a shader

QShaderKey

Specifies the shading language, the version with flags, and the variant

QShaderVersion

Specifies the shading language version

QRhiGraphicsPipeline::StencilOpState

Describes the stencil operation state

QShaderDescription::StorageBlock

Describes a shader storage block

QRhiGraphicsPipeline::TargetBlend

Describes the blend state for one color attachment

QShaderDescription::UniformBlock

Describes a uniform block

To include the definitions of the module's classes, use the following directive:


  #include <QtRhi>

To link against the module, add this line to your qmake .pro file:


  QT += rhi