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

Method compareDesc

Source/Falcor/Core/API/Texture.cpp:733–738  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

731}
732
733bool 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
740uint64_t Texture::getTextureSizeInBytes() const
741{

Callers 1

blitMethod · 0.80

Calls 1

allFunction · 0.50

Tested by

no test coverage detected