Skip to content

KDGpu::ApiAdapter

Module: API

ApiAdapter.

#include <api_adapter.h>

Inherited by KDGpu::VulkanAdapter

Public Functions

Name
virtual std::vector< Extension > extensions() const =0
virtual AdapterProperties queryAdapterProperties() =0
virtual AdapterFeatures queryAdapterFeatures() =0
virtual AdapterSwapchainProperties querySwapchainProperties(const Handle< Surface_t > & surfaceHandle) =0
virtual std::vector< AdapterQueueType > queryQueueTypes() =0
virtual bool supportsPresentation(const Handle< Surface_t > surfaceHandle, uint32_t queueTypeIndex) =0
virtual FormatProperties formatProperties(Format format) const =0

Public Functions Documentation

function extensions

1
virtual std::vector< Extension > extensions() const =0

Reimplemented by: KDGpu::VulkanAdapter::extensions

function queryAdapterProperties

1
virtual AdapterProperties queryAdapterProperties() =0

Reimplemented by: KDGpu::VulkanAdapter::queryAdapterProperties

function queryAdapterFeatures

1
virtual AdapterFeatures queryAdapterFeatures() =0

Reimplemented by: KDGpu::VulkanAdapter::queryAdapterFeatures

function querySwapchainProperties

1
2
3
virtual AdapterSwapchainProperties querySwapchainProperties(
    const Handle< Surface_t > & surfaceHandle
) =0

Reimplemented by: KDGpu::VulkanAdapter::querySwapchainProperties

function queryQueueTypes

1
virtual std::vector< AdapterQueueType > queryQueueTypes() =0

Reimplemented by: KDGpu::VulkanAdapter::queryQueueTypes

function supportsPresentation

1
2
3
4
virtual bool supportsPresentation(
    const Handle< Surface_t > surfaceHandle,
    uint32_t queueTypeIndex
) =0

Reimplemented by: KDGpu::VulkanAdapter::supportsPresentation

function formatProperties

1
2
3
virtual FormatProperties formatProperties(
    Format format
) const =0

Reimplemented by: KDGpu::VulkanAdapter::formatProperties


Updated on 2024-11-25 at 00:15:04 +0000