openrndr
Toggle table of contents
0.4.5-dev.17.uncommitted+81afe70
common
js
jvm
Platform filter
common
js
jvm
Switch theme
Search in API
openrndr
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