Package | Description |
---|---|
agi.foundation.graphics.renderer |
Defines types that interface to the GPU that are independent of the underlying graphics API, such as OpenGL.
|
Modifier and Type | Method and Description |
---|---|
static TextureWrap |
TextureWrap.getDefault()
Get the enum constant that is considered to be the default.
|
static TextureWrap |
TextureWrap.getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
TextureWrap |
TextureFilter2D.getWrapS()
Gets the texture wrap for the
s direction. |
TextureWrap |
TextureFilter2D.getWrapT()
Gets the texture wrap for the
t direction. |
static TextureWrap |
TextureWrap.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextureWrap[] |
TextureWrap.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
TextureFilter2D.supported(TextureWrap textureWrap)
Gets whether or not the video card supports the specified
textureWrap . |
Constructor and Description |
---|
TextureFilter2D(MinificationFilter minificationFilter,
MagnificationFilter magnificationFilter,
TextureWrap wrapS,
TextureWrap wrapT)
Initializes a texture filter with the specified filters and texture wrap.
|
TextureFilter2D(TextureWrap wrapS,
TextureWrap wrapT)
Initializes a texture filter with the specified
wrapS and wrapT . |