GpuTexture public API. 更多...
#include <Graphics.h>
Public 成员函数 | |
| vk::ImageView | imageView () const |
| Image view. | |
Public 属性 | |
| vkb::TextureImage2D | image |
| vkb::GenericImage | arrayImage |
| vkb::TextureImageCube | cubeImage |
| bool | isCube = false |
| bool | isArray = false |
| bool | isVolume = false |
| bool | isHDR = false |
| vk::UniqueDeviceMemory | rawCubeMemory |
| vk::UniqueImage | rawCubeImage |
| vk::UniqueImageView | rawCubeView |
| vk::Sampler | sampler |
| vkb::BoundSet | descriptorSet |
| vk::ImageView | viewOverride {} |
| int | width = 0 |
| int | height = 0 |
| uint32_t | mipLevels = 1 |
| TextureSampler | samplerState {} |
| uint32_t | bindlessIndex2D = kInvalidBindlessSlot |
| Bindless texture-array slot (stage 0 GPU-driven path). | |
| uint32_t | bindlessIndexCube = kInvalidBindlessSlot |
详细描述
GpuTexture public API.
在文件 Graphics.h 第 257 行定义.
成员函数说明
◆ imageView()
|
inline |
Image view.
在文件 Graphics.h 第 280 行定义.
引用了 arrayImage, cubeImage, image, isArray, isCube, isVolume, rawCubeView , 以及 viewOverride.
被这些函数引用 eve::graphics::raytracing::VulkanRayTracing::applyReflections().
类成员变量说明
◆ arrayImage
| vkb::GenericImage eve::graphics::vulkan::GpuTexture::arrayImage |
在文件 Graphics.h 第 259 行定义.
被这些函数引用 imageView().
◆ bindlessIndex2D
| uint32_t eve::graphics::vulkan::GpuTexture::bindlessIndex2D = kInvalidBindlessSlot |
Bindless texture-array slot (stage 0 GPU-driven path).
在文件 Graphics.h 第 276 行定义.
◆ bindlessIndexCube
| uint32_t eve::graphics::vulkan::GpuTexture::bindlessIndexCube = kInvalidBindlessSlot |
在文件 Graphics.h 第 277 行定义.
被这些函数引用 eve::graphics::vulkan::Graphics::bindlessSlotCube().
◆ cubeImage
| vkb::TextureImageCube eve::graphics::vulkan::GpuTexture::cubeImage |
在文件 Graphics.h 第 260 行定义.
被这些函数引用 imageView().
◆ descriptorSet
| vkb::BoundSet eve::graphics::vulkan::GpuTexture::descriptorSet |
◆ height
| int eve::graphics::vulkan::GpuTexture::height = 0 |
在文件 Graphics.h 第 272 行定义.
被这些函数引用 eve::graphics::vulkan::OffscreenCanvas::OffscreenCanvas().
◆ image
| vkb::TextureImage2D eve::graphics::vulkan::GpuTexture::image |
在文件 Graphics.h 第 258 行定义.
被这些函数引用 imageView().
◆ isArray
| bool eve::graphics::vulkan::GpuTexture::isArray = false |
在文件 Graphics.h 第 262 行定义.
被这些函数引用 imageView().
◆ isCube
| bool eve::graphics::vulkan::GpuTexture::isCube = false |
在文件 Graphics.h 第 261 行定义.
被这些函数引用 imageView().
◆ isHDR
| bool eve::graphics::vulkan::GpuTexture::isHDR = false |
在文件 Graphics.h 第 264 行定义.
◆ isVolume
| bool eve::graphics::vulkan::GpuTexture::isVolume = false |
在文件 Graphics.h 第 263 行定义.
被这些函数引用 imageView().
◆ mipLevels
| uint32_t eve::graphics::vulkan::GpuTexture::mipLevels = 1 |
在文件 Graphics.h 第 273 行定义.
◆ rawCubeImage
| vk::UniqueImage eve::graphics::vulkan::GpuTexture::rawCubeImage |
在文件 Graphics.h 第 266 行定义.
◆ rawCubeMemory
| vk::UniqueDeviceMemory eve::graphics::vulkan::GpuTexture::rawCubeMemory |
在文件 Graphics.h 第 265 行定义.
◆ rawCubeView
| vk::UniqueImageView eve::graphics::vulkan::GpuTexture::rawCubeView |
在文件 Graphics.h 第 267 行定义.
被这些函数引用 imageView().
◆ sampler
| vk::Sampler eve::graphics::vulkan::GpuTexture::sampler |
◆ samplerState
| TextureSampler eve::graphics::vulkan::GpuTexture::samplerState {} |
在文件 Graphics.h 第 274 行定义.
◆ viewOverride
| vk::ImageView eve::graphics::vulkan::GpuTexture::viewOverride {} |
在文件 Graphics.h 第 270 行定义.
被这些函数引用 imageView() , 以及 eve::graphics::vulkan::OffscreenCanvas::OffscreenCanvas().
◆ width
| int eve::graphics::vulkan::GpuTexture::width = 0 |
在文件 Graphics.h 第 271 行定义.
被这些函数引用 eve::graphics::vulkan::OffscreenCanvas::OffscreenCanvas().
该结构体的文档由以下文件生成:
- src/modules/graphics/vulkan/Graphics.h