PixelFormatProperties extension
Block-geometry and family queries for PixelFormat.
- on
Properties
- blockHeight → int
-
Available on PixelFormat, provided by the PixelFormatProperties extension
The height, in texels, of a single block. Uncompressed formats return 1.no setter - blockWidth → int
-
Available on PixelFormat, provided by the PixelFormatProperties extension
The width, in texels, of a single block. Uncompressed formats return 1.no setter - bytesPerBlock → int
-
Available on PixelFormat, provided by the PixelFormatProperties extension
The number of bytes used to store one block. For uncompressed formats a block is a single texel, so this matches the bytes per texel.no setter - compressionFamily → TextureCompressionFamily?
-
Available on PixelFormat, provided by the PixelFormatProperties extension
The compression family this format belongs to. Returns null for uncompressed formats.no setter - isCompressed → bool
-
Available on PixelFormat, provided by the PixelFormatProperties extension
Whether this is a block-compressed pixel format.no setter