Interface CLWritableMipMaps2DType


public interface CLWritableMipMaps2DType
The writable mipmaps for a 2D image. Users are expected to retrieve the byte channel associated with each mipmap level using writeMipMap(int), and are expected to write supercompressed data to the byte channel in accordance with the declared image info.
  • Method Summary

    Modifier and Type
    Method
    Description
    writeMipMap(int mipMapLevel)
    Retrieve the byte channel associated with a mipmap level.
  • Method Details

    • writeMipMap

      WritableByteChannel writeMipMap(int mipMapLevel) throws IOException
      Retrieve the byte channel associated with a mipmap level.
      Parameters:
      mipMapLevel - The mipmap level
      Returns:
      A byte channel that must receive supercompressed image data
      Throws:
      IOException - On errors