java.lang.Object
au.notzed.zcl.CLProperty.TagValue
- All Implemented Interfaces:
CLProperty
- Direct Known Subclasses:
CLContextProperty.TagValue
,CLDeviceProperty.TagValue
,CLPipeProperty.TagValue
,CLQueueProperty.TagValue
,CLSamplerProperty.TagValue
- Enclosing interface:
- CLProperty
public static class CLProperty.TagValue extends java.lang.Object implements CLProperty
A simple tag/value property type.
-
Nested Class Summary
Nested classes/interfaces inherited from interface au.notzed.zcl.CLProperty
CLProperty.TagValue
-
Constructor Summary
Constructors Constructor Description TagValue(long tag, long value)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
TagValue
public TagValue(long tag, long value)
-
-
Method Details
-
getSize
public int getSize()- Specified by:
getSize
in interfaceCLProperty
-
toInt
public int toInt(jdk.incubator.foreign.MemoryAddress dst, int o)Description copied from interface:CLProperty
Encode this property as an integer array.- Specified by:
toInt
in interfaceCLProperty
- Parameters:
dst
- destinationo
- offset- Returns:
- updated o = (o + getSize())
-
toLong
public int toLong(jdk.incubator.foreign.MemoryAddress dst, int o)Description copied from interface:CLProperty
Encode this property as a long poke.- Specified by:
toLong
in interfaceCLProperty
- Parameters:
dst
- destinationo
- offset- Returns:
- updated o = (o + getSize()))
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-