Class EGLClientPixmapHI


  • public class EGLClientPixmapHI
    extends Object
    • 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 be ByteBuffer.rewind() and native-order set.
      • derefPointer

        public static EGLClientPixmapHI derefPointer​(long addr)
        Returns new instance dereferencing ByteBuffer at given native address `addr` with size size().
      • getBuffer

        public final ByteBuffer getBuffer()
        Return the underlying native direct ByteBuffer
      • getDirectBufferAddress

        public final long getDirectBufferAddress()
        Returns the native address of the underlying native ByteBuffer getBuffer()
      • getPData

        public final long getPData()
        Getter for native field pData, referencing a struct owned array with fixed element count of 1 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
      • getIWidth

        public final int getIWidth()
        Getter for native field iWidth, 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 field iHeight, 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 field iStride, being a struct owned IntType.

        Native Field Signature (IntType) typedef 'EGLint', size[fixed true, lnx64 4], const[false], is[primitive, int]