Salta ai contenuti
Seleziona lingua:Italiano
Questa pagina è disponibile solo in inglese.

AuRea 1.0.2

Represents a texture in the 3D scene.

Constructors

constructor(bitmap: AuBitmap, wrapMode: AuTexture.WrapMode, minFilter: AuTexture.MinFilter, magFilter: AuTexture.MagFilter)

Creates a texture from a bitmap.

constructor(pixels: ByteArray, format: AuTexture.PixelFormat, width: Int, height: Int, wrapMode: AuTexture.WrapMode, minFilter: AuTexture.MinFilter, magFilter: AuTexture.MagFilter)

Creates a texture from a buffer.

Types

Defines how a texture is sampled when it is magnified (i.e. when it appears larger on screen than its original resolution).

Defines how a texture is sampled when it is minified (i.e. when it appears smaller on screen than its original resolution).

High-level format describing how pixel data is stored and interpreted.

This enum represents the different ways in which a texture can be wrapped when it is mapped onto a surface in a graphics application. Wrapping determines how textures are applied when the texture coordinates extend beyond the typical range of 0, 1, which is common when repeating a texture across a large surface.

Inherited properties

The handle to the native resource.

Inherited functions

open override fun close()

Release the native resources.