Package org.openrndr.dds

Types

DDSData
Link copied to clipboard
common
data class DDSData(format: ColorFormat, type: ColorType, width: Int, height: Int, mipmaps: Int, cubeMap: Boolean, bdata: List<MPPBuffer>, bdata2: List<MPPBuffer>, flipV: Boolean)
DDSPixelFormat
Link copied to clipboard
common
class DDSPixelFormat(header: MPPBuffer)

Functions

loadDDS
Link copied to clipboard
fun loadDDS(file: File): DDSData
fun loadDDS(inputStream: InputStream): DDSData
fun loadDDS(buffer: ByteBuffer): DDSData
suspend fun loadDDS(url: String, bgrIsRgb: Boolean = true): DDSData
fun loadDDS(data: MPPBuffer, bgrIsRgb: Boolean = false): DDSData