generateMipmaps

actual fun generateMipmaps(engine: Engine)

Generates all mipmap levels automatically.

Requires the texture to have a color-renderable format and usage set to BLIT_SRC | BLIT_DST. If unspecified, usage bits are set automatically.

This texture must not use Sampler.SAMPLER_3D.

Parameters

engine

Engine this texture is associated with

expect fun generateMipmaps(engine: Engine)

Generates all mipmap levels automatically.

Requires the texture to have a color-renderable format and usage set to BLIT_SRC | BLIT_DST. If unspecified, usage bits are set automatically.

This texture must not use Sampler.SAMPLER_3D.

Parameters

engine

Engine this texture is associated with

actual fun generateMipmaps(engine: Engine)

Generates all mipmap levels automatically.

Requires the texture to have a color-renderable format and usage set to BLIT_SRC | BLIT_DST. If unspecified, usage bits are set automatically.

This texture must not use Sampler.SAMPLER_3D.

Parameters

engine

Engine this texture is associated with

actual fun generateMipmaps(engine: Engine)

Generates all mipmap levels automatically.

Requires the texture to have a color-renderable format and usage set to BLIT_SRC | BLIT_DST. If unspecified, usage bits are set automatically.

This texture must not use Sampler.SAMPLER_3D.

Parameters

engine

Engine this texture is associated with

actual fun generateMipmaps(engine: Engine)

Generates all mipmap levels automatically.

Requires the texture to have a color-renderable format and usage set to BLIT_SRC | BLIT_DST. If unspecified, usage bits are set automatically.

This texture must not use Sampler.SAMPLER_3D.

Parameters

engine

Engine this texture is associated with