MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / getTotalByteSize

Method getTotalByteSize

Source/Falcor/Core/API/Texture.h:63–63  ·  view source on GitHub ↗

Get the total size of the subresource in bytes (unaligned).

Source from the content-addressed store, hash-verified

61
62 /// Get the total size of the subresource in bytes (unaligned).
63 size_t getTotalByteSize() const { return rowSize * rowCount * depth; }
64
65 /// Get the total size of the subresource in bytes (aligned to device texture alignment).
66 size_t getTotalByteSizeAligned() const { return rowSizeAligned * rowCount * depth; }

Callers 4

setSubresourceBlobMethod · 0.80
getSubresourceBlobMethod · 0.80
texture_to_numpyFunction · 0.80
texture_from_numpyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected