Buffer:getSize
EditReturns the size of the Buffer in VRAM, in bytes. This is the same as length * stride
.
The size of the Buffer can't change after it's created.
size = Buffer:getSize()
Arguments
None
Returns
Name | Type | Description |
size | number | The size of the Buffer, in bytes. |