wgpu4k-native
Toggle table of contents
v24.0.1
android
common
jvm
native
Platform filter
android
common
jvm
native
Switch theme
Search in API
wgpu4k-native
wgpu4k-native
/
io.ygdrasil.wgpu
/
WGPUColor
WGPUColor
android
common
jvm
native
actual
interface
WGPUColor
Inheritors
ByReference
ByValue
expect
interface
WGPUColor
actual
interface
WGPUColor
:
CStructure
Inheritors
ByReference
actual
interface
WGPUColor
Inheritors
ByReference
ByValue
Members
Types
By
Reference
Link copied to clipboard
android
jvm
native
class
ByReference
(
val
handle
:
WGPUColor.ByReference
=
io.ygdrasil.wgpu.android.WGPUColor.ByReference(com.sun.jna.Pointer.NULL)
)
:
WGPUColor
@
JvmInline
value
class
ByReference
(
val
handler
:
NativeAddress
)
:
WGPUColor
value
class
ByReference
(
val
handler
:
NativeAddress
)
:
WGPUColor
By
Value
Link copied to clipboard
android
native
class
ByValue
(
val
handle
:
WGPUColor.ByValue
=
io.ygdrasil.wgpu.android.WGPUColor.ByValue(com.sun.jna.Pointer.NULL)
)
:
WGPUColor
value
class
ByValue
(
val
handle
:
CValue
<
WGPUColor
>
)
:
WGPUColor
Companion
Link copied to clipboard
android
common
jvm
native
actual
object
Companion
expect
object
Companion
actual
object
Companion
actual
object
Companion
Properties
a
Link copied to clipboard
android
common
jvm
native
actual
abstract
var
a
:
Double
expect
abstract
var
a
:
Double
actual
abstract
var
a
:
Double
actual
abstract
var
a
:
Double
b
Link copied to clipboard
android
common
jvm
native
actual
abstract
var
b
:
Double
expect
abstract
var
b
:
Double
actual
abstract
var
b
:
Double
actual
abstract
var
b
:
Double
g
Link copied to clipboard
android
common
jvm
native
actual
abstract
var
g
:
Double
expect
abstract
var
g
:
Double
actual
abstract
var
g
:
Double
actual
abstract
var
g
:
Double
handler
Link copied to clipboard
android
common
jvm
native
actual
abstract
val
handler
:
NativeAddress
expect
abstract
val
handler
:
NativeAddress
abstract
val
handler
:
NativeAddress
actual
abstract
val
handler
:
NativeAddress
r
Link copied to clipboard
android
common
jvm
native
actual
abstract
var
r
:
Double
expect
abstract
var
r
:
Double
actual
abstract
var
r
:
Double
actual
abstract
var
r
:
Double
Functions
get
Link copied to clipboard
jvm
open
fun
get
(
layout
:
StructLayout
,
offset
:
Long
)
:
MemorySegment
open
fun
get
(
layout
:
ValueLayout
,
offset
:
Long
)
:
MemorySegment
get
Double
Link copied to clipboard
jvm
open
fun
getDouble
(
offset
:
Long
)
:
Double
get
Float
Link copied to clipboard
jvm
open
fun
getFloat
(
offset
:
Long
)
:
Float
get
Int
Link copied to clipboard
jvm
open
fun
getInt
(
offset
:
Long
)
:
Int
get
Short
Link copied to clipboard
jvm
open
fun
getShort
(
offset
:
Long
)
:
Short
get
UInt
Link copied to clipboard
jvm
open
fun
getUInt
(
offset
:
Long
)
:
UInt
get
ULong
Link copied to clipboard
jvm
open
fun
getULong
(
offset
:
Long
)
:
ULong
get
UShort
Link copied to clipboard
jvm
open
fun
getUShort
(
offset
:
Long
)
:
UShort
set
Link copied to clipboard
jvm
open
fun
set
(
offset
:
Long
,
value
:
Boolean
)
open
fun
set
(
offset
:
Long
,
value
:
Double
)
open
fun
set
(
offset
:
Long
,
value
:
Float
)
open
fun
set
(
offset
:
Long
,
value
:
Int
)
open
fun
set
(
offset
:
Long
,
value
:
Short
)
open
fun
set
(
offset
:
Long
,
value
:
UInt
)
open
fun
set
(
offset
:
Long
,
value
:
ULong
)
open
fun
set
(
offset
:
Long
,
value
:
UShort
)
open
fun
set
(
layout
:
StructLayout
,
offset
:
Long
,
address
:
NativeAddress
?
)
open
fun
set
(
layout
:
ValueLayout
,
offset
:
Long
,
address
:
NativeAddress
?
)
to
CValue
Link copied to clipboard
android
native
open
fun
toCValue
(
)
:
WGPUColor.ByValue
open
fun
toCValue
(
)
:
CValue
<
WGPUColor
>
to
Reference
Link copied to clipboard
android
open
fun
toReference
(
)
:
WGPUColor.ByReference