supportsTextureCompression method
- TextureCompressionFamily family
Whether this device supports the given family of block-compressed texture formats. Hardware support is granted on a per-family basis.
Compressed textures are always sample-only (no render target, no shader write, no multisampling, and dimensions must be a multiple of the format block size). supportsTextureFormat can be used for a per-format check.
Implementation
bool supportsTextureCompression(TextureCompressionFamily family) {
return _supportsTextureCompression(family.index);
}