Gets the length of the resource in bytes.
The resource object.
The length of the resource's GPU memory allocation in bytes.
See Implementation
Gets the length of the resource in bytes.