Capabilities required for the GPU-driven path. All must be true for gpuDrivenAvailable(). Probing happens once at device creation.
更多...
#include <GpuDriven.h>
Public 成员函数 | |
| bool | gpuDrivenAvailable () const |
| bool | gpuDrivenCullAvailable () const |
| Stage 2: GPU frustum/HZB cull + GPU-written indirect commands. | |
Public 属性 | |
| bool | api12 = false |
| bool | drawIndirectCount = false |
| bool | multiDrawIndirect = false |
| bool | descriptorIndexing = false |
| bool | shaderSampledImageArrayDynamicIndexing = false |
| bool | samplerArrayCapacity = false |
| bool | computeShader = false |
详细描述
Capabilities required for the GPU-driven path. All must be true for gpuDrivenAvailable(). Probing happens once at device creation.
在文件 GpuDriven.h 第 30 行定义.
成员函数说明
◆ gpuDrivenAvailable()
|
inline |
在文件 GpuDriven.h 第 39 行定义.
引用了 samplerArrayCapacity , 以及 shaderSampledImageArrayDynamicIndexing.
被这些函数引用 gpuDrivenCullAvailable(), eve::graphics::vulkan::Graphics::gpuDrivenEnabled(), eve::graphics::vulkan::Graphics::gpuDrivenSubmitOpaque(), eve::graphics::vulkan::Graphics::initWithWindow() , 以及 eve::graphics::vulkan::Graphics::supportsGpuDriven3D().
◆ gpuDrivenCullAvailable()
|
inline |
Stage 2: GPU frustum/HZB cull + GPU-written indirect commands.
在文件 GpuDriven.h 第 54 行定义.
引用了 computeShader , 以及 gpuDrivenAvailable().
被这些函数引用 eve::graphics::vulkan::Graphics::gpuDrivenCullEnabled() , 以及 eve::graphics::vulkan::Graphics::gpuDrivenResolveWanted().
类成员变量说明
◆ api12
| bool eve::graphics::vulkan::GpuDrivenCaps::api12 = false |
在文件 GpuDriven.h 第 31 行定义.
◆ computeShader
| bool eve::graphics::vulkan::GpuDrivenCaps::computeShader = false |
在文件 GpuDriven.h 第 37 行定义.
被这些函数引用 gpuDrivenCullAvailable() , 以及 eve::graphics::vulkan::Graphics::initWithWindow().
◆ descriptorIndexing
| bool eve::graphics::vulkan::GpuDrivenCaps::descriptorIndexing = false |
在文件 GpuDriven.h 第 34 行定义.
◆ drawIndirectCount
| bool eve::graphics::vulkan::GpuDrivenCaps::drawIndirectCount = false |
在文件 GpuDriven.h 第 32 行定义.
◆ multiDrawIndirect
| bool eve::graphics::vulkan::GpuDrivenCaps::multiDrawIndirect = false |
在文件 GpuDriven.h 第 33 行定义.
◆ samplerArrayCapacity
| bool eve::graphics::vulkan::GpuDrivenCaps::samplerArrayCapacity = false |
在文件 GpuDriven.h 第 36 行定义.
被这些函数引用 gpuDrivenAvailable() , 以及 eve::graphics::vulkan::Graphics::initWithWindow().
◆ shaderSampledImageArrayDynamicIndexing
| bool eve::graphics::vulkan::GpuDrivenCaps::shaderSampledImageArrayDynamicIndexing = false |
在文件 GpuDriven.h 第 35 行定义.
被这些函数引用 gpuDrivenAvailable() , 以及 eve::graphics::vulkan::Graphics::initWithWindow().
该结构体的文档由以下文件生成:
- src/modules/graphics/vulkan/GpuDriven.h