interface Cubemap
(source)
format |
abstract val format: ColorFormat |
levels |
abstract val levels: Int |
session |
abstract val session: Session? |
type |
abstract val type: ColorType |
width |
abstract val width: Int |
bind |
abstract fun bind(textureUnit: Int = 0): Unit |
copyTo |
abstract fun copyTo(target: ArrayCubemap, layer: Int, fromLevel: Int = 0, toLevel: Int = 0): Unit abstract fun copyTo(target: Cubemap, fromLevel: Int = 0, toLevel: Int = 0): Unit abstract fun copyTo(target: ColorBuffer, fromSide: CubemapSide, fromLevel: Int = 0, toLevel: Int = 0): Unit |
destroy |
abstract fun destroy(): Unit |
filter |
abstract fun filter(min: MinifyingFilter, mag: MagnifyingFilter): Unit |
generateMipmaps |
abstract fun generateMipmaps(): Unit |
read |
abstract fun read(side: CubemapSide, target: ByteBuffer, targetFormat: ColorFormat = format, targetType: ColorType = type, level: Int = 0): Unit |
write |
abstract fun write(side: CubemapSide, source: ByteBuffer, sourceFormat: ColorFormat = format, sourceType: ColorType = type, level: Int = 0): Unit |
create |
fun create(width: Int, format: ColorFormat = ColorFormat.RGBa, type: ColorType = ColorType.UINT8, levels: Int = -1, session: Session? = Session.active): Cubemap |
fromFile |
fun fromFile(file: File, formatHint: ImageFileFormat?, session: Session? = Session.active): Cubemap |
fromFiles |
fun fromFiles(filenames: List<File>, formatHint: ImageFileFormat?, session: Session? = Session.active): Cubemap |
fromUrl |
fun fromUrl(url: String, formatHint: ImageFileFormat?, session: Session? = Session.active): Cubemap |
fromUrls |
fun fromUrls(urls: List<String>, formatHint: ImageFileFormat?, session: Session? = Session.active): Cubemap |
imageBinding |
fun Cubemap.imageBinding(level: Int = 0, imageAccess: ImageAccess): CubemapImageBinding |