Class CLImageDescImpl


  • public class CLImageDescImpl
    extends Object
    Struct accessor for cl_image_desc.
    Author:
    Wade Walker, GlueGen, et al.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static CLImageDescImpl create()  
      static CLImageDescImpl create​(ByteBuffer buf)  
      ByteBuffer getBuffer()  
      long getImageArraySize()
      Getter for native field imageArraySize: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      long getImageDepth()
      Getter for native field imageDepth: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      long getImageHeight()
      Getter for native field imageHeight: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      long getImageRowPitch()
      Getter for native field imageRowPitch: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      long getImageSlicePitch()
      Getter for native field imageSlicePitch: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      int getImageType()
      Getter for native field imageType: CType[(IntType) typedef 'cl_mem_object_type', size [fixed true, lnx64 4], [const[false], int]]
      long getImageWidth()
      Getter for native field imageWidth: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      int getNumMipLevels()
      Getter for native field numMipLevels: CType[(IntType) typedef 'cl_uint', size [fixed true, lnx64 4], [const[false], int]]
      int getNumSamples()
      Getter for native field numSamples: CType[(IntType) typedef 'cl_uint', size [fixed true, lnx64 4], [const[false], int]]
      CLImageDescImpl setImageArraySize​(long val)
      Setter for native field imageArraySize: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      CLImageDescImpl setImageDepth​(long val)
      Setter for native field imageDepth: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      CLImageDescImpl setImageHeight​(long val)
      Setter for native field imageHeight: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      CLImageDescImpl setImageRowPitch​(long val)
      Setter for native field imageRowPitch: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      CLImageDescImpl setImageSlicePitch​(long val)
      Setter for native field imageSlicePitch: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      CLImageDescImpl setImageType​(int val)
      Setter for native field imageType: CType[(IntType) typedef 'cl_mem_object_type', size [fixed true, lnx64 4], [const[false], int]]
      CLImageDescImpl setImageWidth​(long val)
      Setter for native field imageWidth: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      CLImageDescImpl setNumMipLevels​(int val)
      Setter for native field numMipLevels: CType[(IntType) typedef 'cl_uint', size [fixed true, lnx64 4], [const[false], int]]
      CLImageDescImpl setNumSamples​(int val)
      Setter for native field numSamples: CType[(IntType) typedef 'cl_uint', size [fixed true, lnx64 4], [const[false], int]]
      static int size()  
    • Method Detail

      • size

        public static int size()
      • setImageType

        public CLImageDescImpl setImageType​(int val)
        Setter for native field imageType: CType[(IntType) typedef 'cl_mem_object_type', size [fixed true, lnx64 4], [const[false], int]]
      • getImageType

        public int getImageType()
        Getter for native field imageType: CType[(IntType) typedef 'cl_mem_object_type', size [fixed true, lnx64 4], [const[false], int]]
      • setImageWidth

        public CLImageDescImpl setImageWidth​(long val)
        Setter for native field imageWidth: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      • getImageWidth

        public long getImageWidth()
        Getter for native field imageWidth: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      • setImageHeight

        public CLImageDescImpl setImageHeight​(long val)
        Setter for native field imageHeight: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      • getImageHeight

        public long getImageHeight()
        Getter for native field imageHeight: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      • setImageDepth

        public CLImageDescImpl setImageDepth​(long val)
        Setter for native field imageDepth: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      • getImageDepth

        public long getImageDepth()
        Getter for native field imageDepth: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      • setImageArraySize

        public CLImageDescImpl setImageArraySize​(long val)
        Setter for native field imageArraySize: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      • getImageArraySize

        public long getImageArraySize()
        Getter for native field imageArraySize: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      • setImageRowPitch

        public CLImageDescImpl setImageRowPitch​(long val)
        Setter for native field imageRowPitch: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      • getImageRowPitch

        public long getImageRowPitch()
        Getter for native field imageRowPitch: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      • setImageSlicePitch

        public CLImageDescImpl setImageSlicePitch​(long val)
        Setter for native field imageSlicePitch: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      • getImageSlicePitch

        public long getImageSlicePitch()
        Getter for native field imageSlicePitch: CType[(IntType) typedef 'size_t', size [fixed false, lnx64 8], [const[false], int]]
      • setNumMipLevels

        public CLImageDescImpl setNumMipLevels​(int val)
        Setter for native field numMipLevels: CType[(IntType) typedef 'cl_uint', size [fixed true, lnx64 4], [const[false], int]]
      • getNumMipLevels

        public int getNumMipLevels()
        Getter for native field numMipLevels: CType[(IntType) typedef 'cl_uint', size [fixed true, lnx64 4], [const[false], int]]
      • setNumSamples

        public CLImageDescImpl setNumSamples​(int val)
        Setter for native field numSamples: CType[(IntType) typedef 'cl_uint', size [fixed true, lnx64 4], [const[false], int]]
      • getNumSamples

        public int getNumSamples()
        Getter for native field numSamples: CType[(IntType) typedef 'cl_uint', size [fixed true, lnx64 4], [const[false], int]]