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

Function getFormatWidthCompressionRatio

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

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

Source from the content-addressed store, hash-verified

255 * Get the format compression ration along the x-axis
256 */
257inline uint32_t getFormatWidthCompressionRatio(ResourceFormat format)
258{
259 FALCOR_ASSERT(kFormatDesc[(uint32_t)format].format == format);
260 return kFormatDesc[(uint32_t)format].compressionRatio.width;
261}
262
263/**
264 * Get the format compression ration along the y-axis

Callers 2

getFormatRowPitchFunction · 0.85
TextureMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected