Home | History | Annotate | Download | only in resources

Lines Matching refs:Format

24   static SourceDataFormat Format() {
28 // Returns the most efficient texture format for this platform.
30 switch (Format()) {
40 // Return true if the given texture format has the same component order
42 static bool SameComponentOrder(ResourceFormat format) {
43 switch (Format()) {
45 return format == RGBA_8888 || format == RGBA_4444;
47 return format == BGRA_8888 || format == RGBA_4444;