MCPcopy Create free account
hub / github.com/defold/defold / GetSupportedCompressionFormat

Function GetSupportedCompressionFormat

engine/graphics/src/graphics.cpp:1067–1070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1065 }
1066
1067 dmGraphics::TextureFormat GetSupportedCompressionFormat(dmGraphics::HContext context, dmGraphics::TextureFormat format, uint32_t width, uint32_t height)
1068 {
1069 return GetSupportedCompressionFormatForType(context, format, width, height, TEXTURE_TYPE_2D);
1070 }
1071
1072 bool GetAstcTextureFormat(const void* mem, uint32_t memsize, dmGraphics::TextureFormat* out)
1073 {

Callers

nothing calls this directly

Tested by

no test coverage detected