openrndr
0.4.5-dev.4.uncommitted+98ebace
common
js
jvm
openrndr-dds
/
org.openrndr.dds
Package-level
declarations
Types
Functions
Types
DDSData
Link copied to clipboard
@
JvmRecord
data
class
DDSData
(
val
format
:
ColorFormat
,
val
type
:
ColorType
,
val
width
:
Int
,
val
height
:
Int
,
val
mipmaps
:
Int
,
val
cubeMap
:
Boolean
,
val
bdata
:
List
<
MPPBuffer
>
,
val
bdata2
:
List
<
MPPBuffer
>
,
val
flipV
:
Boolean
)
DDSPixel
Format
Link copied to clipboard
class
DDSPixelFormat
(
header
:
MPPBuffer
)
Functions
load
DDS
Link copied to clipboard
common
js
jvm
fun
loadDDS
(
data
:
MPPBuffer
,
bgrIsRgb
:
Boolean
=
false
)
:
DDSData
suspend
fun
loadDDS
(
url
:
String
,
bgrIsRgb
:
Boolean
=
true
)
:
DDSData
fun
loadDDS
(
file
:
File
)
:
DDSData
fun
loadDDS
(
inputStream
:
InputStream
)
:
DDSData
fun
loadDDS
(
buffer
:
ByteBuffer
)
:
DDSData