Package com.jogamp.opengl.egl
Class EGLClientPixmapHI
- java.lang.Object
-
- com.jogamp.opengl.egl.EGLClientPixmapHI
-
public class EGLClientPixmapHI extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EGLClientPixmapHI
create()
Returns a new instance with all bytes set to zero.static EGLClientPixmapHI
create(ByteBuffer buf)
Returns a new instance using the given ByteBuffer having at least {#link size()} bytes capacity.static EGLClientPixmapHI
derefPointer(long addr)
Returns new instance dereferencing ByteBuffer at given native address `addr` with sizesize()
.ByteBuffer
getBuffer()
Return the underlying native direct ByteBufferlong
getDirectBufferAddress()
Returns the native address of the underlying native ByteBuffergetBuffer()
int
getIHeight()
Getter for native fieldiHeight
, being a struct owned IntType.int
getIStride()
Getter for native fieldiStride
, being a struct owned IntType.int
getIWidth()
Getter for native fieldiWidth
, being a struct owned IntType.long
getPData()
Getter for native fieldpData
, referencing a struct owned array with fixed element count of1
elements.static int
size()
Returns the aligned total size of a native instance.static boolean
usesNativeCode()
Returns true if this generated implementation uses native code, otherwise false.
-
-
-
Method Detail
-
usesNativeCode
public static boolean usesNativeCode()
Returns true if this generated implementation uses native code, otherwise false.
-
size
public static int size()
Returns the aligned total size of a native instance.
-
create
public static EGLClientPixmapHI create()
Returns a new instance with all bytes set to zero.
-
create
public static EGLClientPixmapHI create(ByteBuffer buf)
Returns a new instance using the given ByteBuffer having at least {#link size()} bytes capacity. The ByteBuffer will beByteBuffer.rewind()
and native-order set.
-
derefPointer
public static EGLClientPixmapHI derefPointer(long addr)
Returns new instance dereferencing ByteBuffer at given native address `addr` with sizesize()
.
-
getBuffer
public final ByteBuffer getBuffer()
Return the underlying native direct ByteBuffer
-
getDirectBufferAddress
public final long getDirectBufferAddress()
Returns the native address of the underlying native ByteBuffergetBuffer()
-
getPData
public final long getPData()
Getter for native fieldpData
, referencing a struct owned array with fixed element count of1
elements.Maximum element count is
1
.Native Signature:
- field-type
(PointerType) 'void *' -> (void) * , size[fixed false, lnx64 8], const[false], is[pointer*1]
- referenced
(VoidType) 'void', size ZERO, const[false], is[void]
- Returns:
- element value of the corresponding field-array
- field-type
-
getIWidth
public final int getIWidth()
Getter for native fieldiWidth
, being a struct owned IntType.Native Field Signature
(IntType) typedef 'EGLint', size[fixed true, lnx64 4], const[false], is[primitive, int]
-
getIHeight
public final int getIHeight()
Getter for native fieldiHeight
, being a struct owned IntType.Native Field Signature
(IntType) typedef 'EGLint', size[fixed true, lnx64 4], const[false], is[primitive, int]
-
getIStride
public final int getIStride()
Getter for native fieldiStride
, being a struct owned IntType.Native Field Signature
(IntType) typedef 'EGLint', size[fixed true, lnx64 4], const[false], is[primitive, int]
-
-