Builder

actual class Builder

Builder for creating Texture instances.

Use the Builder to construct a Texture object instance.

expect class Builder

Builder for creating Texture instances.

Use the Builder to construct a Texture object instance.

actual class Builder

Builder for creating Texture instances.

Use the Builder to construct a Texture object instance.

actual class Builder

Builder for creating Texture instances.

Use the Builder to construct a Texture object instance.

actual class Builder

Builder for creating Texture instances.

Use the Builder to construct a Texture object instance.

Constructors

Link copied to clipboard
actual constructor()
expect constructor()
actual constructor()
actual constructor()
actual constructor()

Functions

Link copied to clipboard
actual fun build(engine: Engine): Texture

Creates the Texture object and returns a pointer to it.

expect fun build(engine: Engine): Texture

Creates the Texture object and returns a pointer to it.

actual fun build(engine: Engine): Texture

Creates the Texture object and returns a pointer to it.

actual fun build(engine: Engine): Texture

Creates the Texture object and returns a pointer to it.

actual fun build(engine: Engine): Texture

Creates the Texture object and returns a pointer to it.

Link copied to clipboard
actual fun depth(depth: Int): Texture.Builder

Specifies the depth in texels of the texture. Doesn't need to be a power-of-two.

expect fun depth(depth: Int): Texture.Builder

Specifies the depth in texels of the texture. Doesn't need to be a power-of-two.

actual fun depth(depth: Int): Texture.Builder

Specifies the depth in texels of the texture. Doesn't need to be a power-of-two.

actual fun depth(depth: Int): Texture.Builder

Specifies the depth in texels of the texture. Doesn't need to be a power-of-two.

actual fun depth(depth: Int): Texture.Builder

Specifies the depth in texels of the texture. Doesn't need to be a power-of-two.

Link copied to clipboard

Creates an external texture. The content must be set using setExternalImage() or setExternalStream().

Creates an external texture. The content must be set using setExternalImage() or setExternalStream().

Creates an external texture. The content must be set using setExternalImage() or setExternalStream().

Creates an external texture. The content must be set using setExternalImage() or setExternalStream().

Creates an external texture. The content must be set using setExternalImage() or setExternalStream().

Link copied to clipboard

Specifies the internal format of this texture.

Specifies the internal format of this texture.

Specifies the internal format of this texture.

Specifies the internal format of this texture.

Specifies the internal format of this texture.

Link copied to clipboard
actual fun height(height: Int): Texture.Builder

Specifies the height in texels of the texture. Doesn't need to be a power-of-two.

expect fun height(height: Int): Texture.Builder

Specifies the height in texels of the texture. Doesn't need to be a power-of-two.

actual fun height(height: Int): Texture.Builder

Specifies the height in texels of the texture. Doesn't need to be a power-of-two.

actual fun height(height: Int): Texture.Builder

Specifies the height in texels of the texture. Doesn't need to be a power-of-two.

actual fun height(height: Int): Texture.Builder

Specifies the height in texels of the texture. Doesn't need to be a power-of-two.

Link copied to clipboard

Specify a native texture to import as a Filament texture.

Specify a native texture to import as a Filament texture.

Specify a native texture to import as a Filament texture.

Specify a native texture to import as a Filament texture.

Specify a native texture to import as a Filament texture.

Link copied to clipboard
actual fun levels(levels: Int): Texture.Builder

Specifies the number of mip map levels.

expect fun levels(levels: Int): Texture.Builder

Specifies the number of mip map levels.

actual fun levels(levels: Int): Texture.Builder

Specifies the number of mip map levels.

actual fun levels(levels: Int): Texture.Builder

Specifies the number of mip map levels.

actual fun levels(levels: Int): Texture.Builder

Specifies the number of mip map levels.

Link copied to clipboard

Specifies the type of sampler to use.

Specifies the type of sampler to use.

Specifies the type of sampler to use.

Specifies the type of sampler to use.

Specifies the type of sampler to use.

Link copied to clipboard
actual fun samples(samples: Int): Texture.Builder

Specifies the number of samples used for MSAA (Multisample Anti-Aliasing).

expect fun samples(samples: Int): Texture.Builder

Specifies the number of samples used for MSAA (Multisample Anti-Aliasing).

actual fun samples(samples: Int): Texture.Builder

Specifies the number of samples used for MSAA (Multisample Anti-Aliasing).

actual fun samples(samples: Int): Texture.Builder

Specifies the number of samples used for MSAA (Multisample Anti-Aliasing).

actual fun samples(samples: Int): Texture.Builder

Specifies the number of samples used for MSAA (Multisample Anti-Aliasing).

Link copied to clipboard

Specifies how a texture's channels map to color components.

Specifies how a texture's channels map to color components.

Specifies how a texture's channels map to color components.

Specifies how a texture's channels map to color components.

Specifies how a texture's channels map to color components.

Link copied to clipboard
actual fun usage(usage: Int): Texture.Builder

Specifies if the texture will be used as a render target attachment.

expect fun usage(usage: Int): Texture.Builder

Specifies if the texture will be used as a render target attachment.

actual fun usage(usage: Int): Texture.Builder

Specifies if the texture will be used as a render target attachment.

actual fun usage(usage: Int): Texture.Builder

Specifies if the texture will be used as a render target attachment.

actual fun usage(usage: Int): Texture.Builder

Specifies if the texture will be used as a render target attachment.

Link copied to clipboard
actual fun width(width: Int): Texture.Builder

Specifies the width in texels of the texture. Doesn't need to be a power-of-two.

expect fun width(width: Int): Texture.Builder

Specifies the width in texels of the texture. Doesn't need to be a power-of-two.

actual fun width(width: Int): Texture.Builder

Specifies the width in texels of the texture. Doesn't need to be a power-of-two.

actual fun width(width: Int): Texture.Builder

Specifies the width in texels of the texture. Doesn't need to be a power-of-two.

actual fun width(width: Int): Texture.Builder

Specifies the width in texels of the texture. Doesn't need to be a power-of-two.