Class CLImage<B extends Buffer>

    • Field Detail

      • width

        public final int width
      • height

        public final int height
    • Method Detail

      • createUninitializedImageFormat

        protected static CLImageFormat createUninitializedImageFormat()
      • getFormat

        public CLImageFormat getFormat()
        Returns the image format descriptor specified when image was created.
      • getElementSize

        public int getElementSize()
        Returns the size of each element of the image memory object given by image. An element is made up of n channels. The value of n is given in CLImageFormat descriptor.
        getElementSize in class CLMemory<B extends Buffer>
      • getRowPitch

        public int getRowPitch()
        Returns the size in bytes of a row of elements of the image object given by image.
      • getWidth

        public int getWidth()
        Returns width of this image in pixels.
      • getHeight

        public int getHeight()
        Returns the height of this image in pixels.
      • close

        public final void close()
        This method is not intended to be called from client code.
        Implementation detail, satisfying AutoCloseable. Might be remove as soon we have extension methods, but shall validate with Java 1.5 specs.
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface AutoCloseable
        See Also: