| 731 | } |
| 732 | |
| 733 | bool Texture::compareDesc(const Texture* pOther) const |
| 734 | { |
| 735 | return mWidth == pOther->mWidth && mHeight == pOther->mHeight && mDepth == pOther->mDepth && mMipLevels == pOther->mMipLevels && |
| 736 | mSampleCount == pOther->mSampleCount && mArraySize == pOther->mArraySize && mFormat == pOther->mFormat && |
| 737 | mIsSparse == pOther->mIsSparse && all(mSparsePageRes == pOther->mSparsePageRes); |
| 738 | } |
| 739 | |
| 740 | uint64_t Texture::getTextureSizeInBytes() const |
| 741 | { |