MCPcopy Create free account
hub / github.com/google/gapid / key

Method key

core/image/astc.go:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28func (f *FmtASTC) key() interface{} {
29 return f.String()
30}
31func (f *FmtASTC) size(w, h, d int) int {
32 bw, bh := int(f.BlockWidth), int(f.BlockHeight)
33 return (16 * sint.AlignUp(w, bw) * sint.AlignUp(h, bh)) / (bw * bh)

Callers

nothing calls this directly

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected