ludus::graphics::rhi::BufferDescription¶
Ludus Wiki · API overview · Browse API
Struct
Fixed buffer allocation/role; complete initial bytes are consumed before return. R8 RequestBufferUpdate permits completion-gated content changes; allocation size/role never change.
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/raster.h
#include <ludus/graphics/rhi/raster.h>
struct ludus::graphics::rhi::BufferDescription final
Fields¶
Role¶
BufferRole ludus::graphics::rhi::BufferDescription::Role = BufferRole::Vertex
Legal use of the created buffer.
Related types: BufferRole
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/raster.h
Size¶
ludus::foundation::usize ludus::graphics::rhi::BufferDescription::Size = 0
Allocation and initial-content length in bytes; nonzero and bounded by capabilities.
Related types: ludus::foundation::usize
Declared in modules/graphics/rhi/include/ludus/graphics/rhi/raster.h