public class SoDDSImageRW extends SoRasterImageRW
DDS files are faster to load and use less memory than other image file formats, because the compressed data is sent directly to the graphics device (no decompression is done on the CPU).
This class is able to read DDS files compressed with DXT1 with 1-bit Alpha, DXT3, and DXT5 compression. The other formats which can be contained by a DDS file (e.g. DXT2 and DXT4) are not currently supported.
This format can also embed mipmaps (levels of resolution), but all levels (from higher resolution to a 1*1 pixel image) are not necessarily required. The
SoComplexity.textureQuality field has no effect on mipmap generation if the DDS file already embeds mipmaps.
NOTE: File encoding and writing is not currently supported.
SoRasterImageRW for more information and code examples.
SoRasterImageRW.OpenModes, SoRasterImageRW.ReadCapabilities, SoRasterImageRW.WriteCapabilities
OPEN_READ, OPEN_WRITE, READ_AVAILABLE, READ_UNAVAILABLE, WRITE_FULL_IMAGE, WRITE_SCANLINES, WRITE_UNAVAILABLE
|Constructor and Description|
checkRead, close, enableMultipleWriting, getReadCapability, getWriteCapability, isMultipleBufferInverted, isMultipleWritingEnabled, open, read, read, readRegion, write, write, write, writeFooter, writeHeader, writeHeader
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
Generated on January 29, 2020, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com