|
KiCad PCB EDA Suite
|
Go to the source code of this file.
Classes | |
| struct | RHI_BUFFER_DESC |
Enumerations | |
| enum class | RHI_BUFFER_TYPE { VERTEX , INDEX , UNIFORM , STORAGE } |
Functions | |
| constexpr bool | RhiRangeWithinBuffer (size_t aOffset, size_t aSize, size_t aTotal) |
| Return true when [aOffset, aOffset + aSize) lies within aTotal bytes. | |
|
strong |
| Enumerator | |
|---|---|
| VERTEX | |
| INDEX | |
| UNIFORM | |
| STORAGE | |
Definition at line 25 of file rhi_buffer.h.
|
constexpr |
Return true when [aOffset, aOffset + aSize) lies within aTotal bytes.
The sum is never formed because a bad range could wrap size_t and admit an out-of-bounds copy.
Definition at line 44 of file rhi_buffer.h.
Referenced by RHI_VULKAN_DEVICE::ExecuteCompute(), and RHI_VULKAN_DEVICE::UpdateBuffer().