com.sun.opengl.util.texture.spi

Class DDSImage.ImageInfo

Enclosing Class:
DDSImage

public static class DDSImage.ImageInfo
extends Object

Simple class describing images and data; does not encapsulate image format information. User is responsible for transmitting that information in another way.

Constructor Summary

ImageInfo(ByteBuffer data, int width, int height, boolean compressed, int compressionFormat)

Method Summary

int
getCompressionFormat()
ByteBuffer
getData()
int
getHeight()
int
getWidth()
boolean
isCompressed()

Constructor Details

ImageInfo

public ImageInfo(ByteBuffer data,
                 int width,
                 int height,
                 boolean compressed,
                 int compressionFormat)

Method Details

getCompressionFormat

public int getCompressionFormat()

getData

public ByteBuffer getData()

getHeight

public int getHeight()

getWidth

public int getWidth()

isCompressed

public boolean isCompressed()

Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.