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

Function getFormatHeightCompressionRatio

Source/Falcor/Core/API/Formats.h:266–270  ·  view source on GitHub ↗

* Get the format compression ration along the y-axis */

Source from the content-addressed store, hash-verified

264 * Get the format compression ration along the y-axis
265 */
266inline uint32_t getFormatHeightCompressionRatio(ResourceFormat format)
267{
268 FALCOR_ASSERT(kFormatDesc[(uint32_t)format].format == format);
269 return kFormatDesc[(uint32_t)format].compressionRatio.height;
270}
271
272/**
273 * Get the number of channels

Callers 2

BitmapMethod · 0.85
TextureMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected