| 345 | } |
| 346 | |
| 347 | void Buffer::unmap() const |
| 348 | { |
| 349 | if (mMappedPtr) |
| 350 | { |
| 351 | FALCOR_GFX_CALL(mGfxBufferResource->unmap(nullptr)); |
| 352 | mMappedPtr = nullptr; |
| 353 | } |
| 354 | } |
| 355 | |
| 356 | bool Buffer::adjustSizeOffsetParams(size_t& size, size_t& offset) const |
| 357 | { |
no outgoing calls