Package org.gnome.graphene
Class Simd4X4F
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.graphene.Simd4X4F
- All Implemented Interfaces:
Proxy
-
Constructor Summary
ConstructorsConstructorDescriptionSimd4X4F()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 MemoryLayoutThe memory layout of the native struct.@Nullable Simd4FreadW()Read the value of the fieldw.@Nullable Simd4FreadX()Read the value of the fieldx.@Nullable Simd4FreadY()Read the value of the fieldy.@Nullable Simd4FreadZ()Read the value of the fieldz.voidWrite a value in the fieldw.voidWrite a value in the fieldx.voidWrite a value in the fieldy.voidWrite a value in the fieldz.Methods inherited from class org.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 fieldxy- value for the fieldyz- value for the fieldzw- 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
-