Function CommandBuffer.fillBuffer
Fills buffer from offset to offset+size with value
Parameters
Name | Description |
---|---|
dst | the buffer to fill. |
offset | Byte offset from where to fill the buffer. Must be a multiple of 4. |
size | Number of bytes to fill. Must be a multiple of 4 or wholeSize to fill until the end of the buffer. |
value | Value to copy into the buffer, in host endianess. Can only be used outside of a render pass. |