Builder

actual class Builder

Builder for creating IndexBuffer instances.

Configure the index count and type (16-bit or 32-bit), then call build() to create the IndexBuffer.

expect class Builder

Builder for creating IndexBuffer instances.

Configure the index count and type (16-bit or 32-bit), then call build() to create the IndexBuffer.

actual class Builder

Builder for creating IndexBuffer instances.

Configure the index count and type (16-bit or 32-bit), then call build() to create the IndexBuffer.

actual class Builder

Builder for creating IndexBuffer instances.

Configure the index count and type (16-bit or 32-bit), then call build() to create the IndexBuffer.

actual class Builder

Builder for creating IndexBuffer instances.

Configure the index count and type (16-bit or 32-bit), then call build() to create the IndexBuffer.

Constructors

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

Types

Link copied to clipboard

Index data type options.

Index data type options.

Index data type options.

Index data type options.

Index data type options.

Functions

Link copied to clipboard

Sets the index data type (USHORT for 16-bit or UINT for 32-bit).

Sets the index data type (USHORT for 16-bit or UINT for 32-bit).

Sets the index data type (USHORT for 16-bit or UINT for 32-bit).

Sets the index data type (USHORT for 16-bit or UINT for 32-bit).

Sets the index data type (USHORT for 16-bit or UINT for 32-bit).

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

Creates the IndexBuffer object.

expect fun build(engine: Engine): IndexBuffer

Creates the IndexBuffer object.

actual fun build(engine: Engine): IndexBuffer

Creates the IndexBuffer object.

actual fun build(engine: Engine): IndexBuffer

Creates the IndexBuffer object.

actual fun build(engine: Engine): IndexBuffer

Creates the IndexBuffer object.

Link copied to clipboard
actual fun indexCount(indexCount: Int): IndexBuffer.Builder

Sets the number of indices in this buffer.

expect fun indexCount(indexCount: Int): IndexBuffer.Builder

Sets the number of indices in this buffer.

actual fun indexCount(indexCount: Int): IndexBuffer.Builder

Sets the number of indices in this buffer.

actual fun indexCount(indexCount: Int): IndexBuffer.Builder

Sets the number of indices in this buffer.

actual fun indexCount(indexCount: Int): IndexBuffer.Builder

Sets the number of indices in this buffer.