Package org.gnome.graphene
Class Simd4X4F
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.graphene.Simd4X4F
- All Implemented Interfaces:
Proxy
-
Constructor Summary
ConstructorDescriptionSimd4X4F()
Allocate a new Simd4X4F.Allocate a new Simd4X4F.Simd4X4F
(MemorySegment address) Create a Simd4X4F proxy instance for the provided memory address.Allocate a new Simd4X4F with the fields set to the provided values.Allocate a new Simd4X4F with the fields set to the provided values. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.readW()
Read the value of the fieldw
.readX()
Read the value of the fieldx
.readY()
Read the value of the fieldy
.readZ()
Read the value of the fieldz
.void
Write a value in the fieldw
.void
Write a value in the fieldx
.void
Write a value in the fieldy
.void
Write a value in the fieldz
.Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
Simd4X4F
Create a Simd4X4F proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
Simd4X4F
Allocate a new Simd4X4F.- Parameters:
arena
- to control the memory allocation scope
-
Simd4X4F
public Simd4X4F()Allocate a new Simd4X4F. The memory is allocated withArena.ofAuto()
. -
Simd4X4F
-
Simd4X4F
Allocate a new Simd4X4F with the fields set to the provided values. The memory is allocated withArena.ofAuto()
.- Parameters:
x
- value for the fieldx
y
- value for the fieldy
z
- value for the fieldz
w
- value for the fieldw
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
readX
-
writeX
Write a value in the fieldx
.- Parameters:
x
- The new value for the fieldx
-
readY
-
writeY
Write a value in the fieldy
.- Parameters:
y
- The new value for the fieldy
-
readZ
-
writeZ
Write a value in the fieldz
.- Parameters:
z
- The new value for the fieldz
-
readW
-
writeW
Write a value in the fieldw
.- Parameters:
w
- The new value for the fieldw
-