One borrowed RGBA8 source rectangle for a batched texture update. @ownership rgba remains owned by the caller and is never retained. @lifetime The byte span must remain valid through updateTextureRegions().
更多...
#include <Graphics.h>
Public 属性 | |
| int | x = 0 |
| int | y = 0 |
| int | width = 0 |
| int | height = 0 |
| std::span< const std::uint8_t > | rgba |
| std::size_t | bytesPerRow = 0 |
详细描述
One borrowed RGBA8 source rectangle for a batched texture update. @ownership rgba remains owned by the caller and is never retained. @lifetime The byte span must remain valid through updateTextureRegions().
在文件 Graphics.h 第 70 行定义.
类成员变量说明
◆ bytesPerRow
| std::size_t eve::graphics::TextureRegionUpload::bytesPerRow = 0 |
在文件 Graphics.h 第 76 行定义.
被这些函数引用 eve::graphics::vulkan::Graphics::updateTextureRegions().
◆ height
| int eve::graphics::TextureRegionUpload::height = 0 |
在文件 Graphics.h 第 74 行定义.
被这些函数引用 eve::graphics::vulkan::Graphics::updateTextureRegions().
◆ rgba
| std::span<const std::uint8_t> eve::graphics::TextureRegionUpload::rgba |
在文件 Graphics.h 第 75 行定义.
被这些函数引用 eve::graphics::vulkan::Graphics::updateTextureRegions().
◆ width
| int eve::graphics::TextureRegionUpload::width = 0 |
在文件 Graphics.h 第 73 行定义.
被这些函数引用 eve::graphics::vulkan::Graphics::updateTextureRegions().
◆ x
| int eve::graphics::TextureRegionUpload::x = 0 |
在文件 Graphics.h 第 71 行定义.
◆ y
| int eve::graphics::TextureRegionUpload::y = 0 |
在文件 Graphics.h 第 72 行定义.
该结构体的文档由以下文件生成:
- src/modules/graphics/Graphics.h