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

Function getSubresourceMipLevel

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

* Get the mip-level of a subresource */

Source from the content-addressed store, hash-verified

145 * Get the mip-level of a subresource
146 */
147 uint32_t getSubresourceMipLevel(uint32_t subresource) const { return subresource % mMipLevels; }
148
149 /**
150 * Get the subresource index

Callers 1

getSubresourceLayoutMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected