|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TextureSource
Marker interface representing a class that provides source data for a
Texture
object.
The source can come from many different places, such as external data images, streams etc), or dynamically generated (multipass rendering). All texture objects require a source of data, and a single source can be added to multiple texture objects.
It is not intended that this interface be used directly as there is not much directly usable information. Derived versions of this interface will provide more interesting and source-specific behaviour.
Field Summary | |
---|---|
static int |
FORMAT_BGR
Specifies the source is in Windows BGR format |
static int |
FORMAT_BGRA
Specifies the source is in Windows BGRA format |
static int |
FORMAT_INTENSITY_ALPHA
Specifies the source is in 2-component Intensity-Alpha format |
static int |
FORMAT_LUMINANCE_ALPHA
Specifies the source is in 2-component Luminance--Alpha format |
static int |
FORMAT_RGB
Specifies the source is in RGB format |
static int |
FORMAT_RGBA
Specifies the source is in RGBA format |
static int |
FORMAT_SINGLE_COMPONENT
Specifies the source is in 1-component Intensity or Alpha format |
Method Summary | |
---|---|
int |
getFormat(int level)
Get the format of this image at the given mipmap level. |
int |
getNumLevels()
Get the number of levels for the mipmapping in this source. |
int |
getWidth()
Get the width of this image. |
Field Detail |
---|
static final int FORMAT_RGB
static final int FORMAT_RGBA
static final int FORMAT_BGR
static final int FORMAT_BGRA
static final int FORMAT_INTENSITY_ALPHA
static final int FORMAT_LUMINANCE_ALPHA
static final int FORMAT_SINGLE_COMPONENT
Method Detail |
---|
int getWidth()
int getNumLevels()
int getFormat(int level)
level
- The mipmap level to get the format for
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |