| 1780 | } |
| 1781 | |
| 1782 | bool AnyBlockCompressedTextures(ntc::ITextureSetMetadata* textureSetMetadata) |
| 1783 | { |
| 1784 | for (int textureIndex = 0; textureIndex < textureSetMetadata->GetTextureCount(); ++textureIndex) |
| 1785 | { |
| 1786 | ntc::ITextureMetadata* textureMetadata = textureSetMetadata->GetTexture(textureIndex); |
| 1787 | if (textureMetadata->GetBlockCompressedFormat() != ntc::BlockCompressedFormat::None) |
| 1788 | { |
| 1789 | return true; |
| 1790 | } |
| 1791 | } |
| 1792 | return false; |
| 1793 | } |
| 1794 | |
| 1795 | class CustomAllocator : public ntc::IAllocator |
| 1796 | { |