CommandBuffer.fillBuffer

Fills buffer from offset to offset+size with value

interface CommandBuffer
void
fillBuffer
(,
in size_t offset
,
in size_t size
,
uint value
)

Parameters

dst Buffer

the buffer to fill.

offset size_t

Byte offset from where to fill the buffer. Must be a multiple of 4.

size size_t

Number of bytes to fill. Must be a multiple of 4 or wholeSize to fill until the end of the buffer.

value uint

Value to copy into the buffer, in host endianess. Can only be used outside of a render pass.

Meta