openrndr / org.openrndr.internal.gl3 / CubemapGL3

CubemapGL3

class CubemapGL3 : Cubemap

Constructors

<init>

CubemapGL3(texture: Int, width: Int, sides: List<ColorBuffer>)

Properties

sides

val sides: List<ColorBuffer>

texture

val texture: Int

width

val width: Int

Functions

bind

fun bind(textureUnit: Int): Unit

destroy

fun destroy(): Unit

filter

fun filter(min: MinifyingFilter, mag: MagnifyingFilter): Unit

generateMipmaps

fun generateMipmaps(): Unit

side

fun side(side: CubemapSide): ColorBuffer

Companion Object Functions

create

fun create(width: Int, format: ColorFormat, type: ColorType): CubemapGL3

fromUrl

fun fromUrl(url: String): CubemapGL3

fromUrls

fun fromUrls(urls: List<String>): CubemapGL3