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 InternalTextureFormat |
InternalTextureFormat.getDefault()
Get the enum constant that is considered to be the default.
|
static InternalTextureFormat |
InternalTextureFormat.getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
InternalTextureFormat |
TextureTemplate2D.getInternalFormat()
Gets the internal format of the texture.
|
static InternalTextureFormat |
InternalTextureFormat.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalTextureFormat[] |
InternalTextureFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
TextureTemplate2D(InternalTextureFormat internalFormat,
int width,
int height)
Initializes a 2D texture template with no mipmapping.
|