Class LwjglDevice

java.lang.Object
com.jme3.opencl.lwjgl.LwjglDevice
All Implemented Interfaces:
com.jme3.opencl.Device

public final class LwjglDevice extends Object implements com.jme3.opencl.Device
Author:
shaman
  • Constructor Details

    • LwjglDevice

      public LwjglDevice(long device, LwjglPlatform platform)
  • Method Details

    • getDevice

      public long getDevice()
    • getPlatform

      public LwjglPlatform getPlatform()
      Specified by:
      getPlatform in interface com.jme3.opencl.Device
    • getDeviceType

      public com.jme3.opencl.Device.DeviceType getDeviceType()
      Specified by:
      getDeviceType in interface com.jme3.opencl.Device
    • getVendorId

      public int getVendorId()
      Specified by:
      getVendorId in interface com.jme3.opencl.Device
    • isAvailable

      public boolean isAvailable()
      Specified by:
      isAvailable in interface com.jme3.opencl.Device
    • hasCompiler

      public boolean hasCompiler()
      Specified by:
      hasCompiler in interface com.jme3.opencl.Device
    • hasDouble

      public boolean hasDouble()
      Specified by:
      hasDouble in interface com.jme3.opencl.Device
    • hasHalfFloat

      public boolean hasHalfFloat()
      Specified by:
      hasHalfFloat in interface com.jme3.opencl.Device
    • hasErrorCorrectingMemory

      public boolean hasErrorCorrectingMemory()
      Specified by:
      hasErrorCorrectingMemory in interface com.jme3.opencl.Device
    • hasUnifiedMemory

      public boolean hasUnifiedMemory()
      Specified by:
      hasUnifiedMemory in interface com.jme3.opencl.Device
    • hasImageSupport

      public boolean hasImageSupport()
      Specified by:
      hasImageSupport in interface com.jme3.opencl.Device
    • hasWritableImage3D

      public boolean hasWritableImage3D()
      Specified by:
      hasWritableImage3D in interface com.jme3.opencl.Device
    • hasOpenGLInterop

      public boolean hasOpenGLInterop()
      Specified by:
      hasOpenGLInterop in interface com.jme3.opencl.Device
    • hasExtension

      public boolean hasExtension(String extension)
      Specified by:
      hasExtension in interface com.jme3.opencl.Device
    • getExtensions

      public Collection<? extends String> getExtensions()
      Specified by:
      getExtensions in interface com.jme3.opencl.Device
    • getComputeUnits

      public int getComputeUnits()
      Specified by:
      getComputeUnits in interface com.jme3.opencl.Device
    • getClockFrequency

      public int getClockFrequency()
      Specified by:
      getClockFrequency in interface com.jme3.opencl.Device
    • getAddressBits

      public int getAddressBits()
      Specified by:
      getAddressBits in interface com.jme3.opencl.Device
    • isLittleEndian

      public boolean isLittleEndian()
      Specified by:
      isLittleEndian in interface com.jme3.opencl.Device
    • getMaximumWorkItemDimensions

      public long getMaximumWorkItemDimensions()
      Specified by:
      getMaximumWorkItemDimensions in interface com.jme3.opencl.Device
    • getMaximumWorkItemSizes

      public long[] getMaximumWorkItemSizes()
      Specified by:
      getMaximumWorkItemSizes in interface com.jme3.opencl.Device
    • getMaxiumWorkItemsPerGroup

      public long getMaxiumWorkItemsPerGroup()
      Specified by:
      getMaxiumWorkItemsPerGroup in interface com.jme3.opencl.Device
    • getMaximumSamplers

      public int getMaximumSamplers()
      Specified by:
      getMaximumSamplers in interface com.jme3.opencl.Device
    • getMaximumReadImages

      public int getMaximumReadImages()
      Specified by:
      getMaximumReadImages in interface com.jme3.opencl.Device
    • getMaximumWriteImages

      public int getMaximumWriteImages()
      Specified by:
      getMaximumWriteImages in interface com.jme3.opencl.Device
    • getMaximumImage2DSize

      public long[] getMaximumImage2DSize()
      Specified by:
      getMaximumImage2DSize in interface com.jme3.opencl.Device
    • getMaximumImage3DSize

      public long[] getMaximumImage3DSize()
      Specified by:
      getMaximumImage3DSize in interface com.jme3.opencl.Device
    • getMaximumAllocationSize

      public long getMaximumAllocationSize()
      Specified by:
      getMaximumAllocationSize in interface com.jme3.opencl.Device
    • getGlobalMemorySize

      public long getGlobalMemorySize()
      Specified by:
      getGlobalMemorySize in interface com.jme3.opencl.Device
    • getLocalMemorySize

      public long getLocalMemorySize()
      Specified by:
      getLocalMemorySize in interface com.jme3.opencl.Device
    • getMaximumConstantBufferSize

      public long getMaximumConstantBufferSize()
      Specified by:
      getMaximumConstantBufferSize in interface com.jme3.opencl.Device
    • getMaximumConstantArguments

      public int getMaximumConstantArguments()
      Specified by:
      getMaximumConstantArguments in interface com.jme3.opencl.Device
    • getProfile

      public String getProfile()
      Specified by:
      getProfile in interface com.jme3.opencl.Device
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface com.jme3.opencl.Device
    • getVersionMajor

      public int getVersionMajor()
      Specified by:
      getVersionMajor in interface com.jme3.opencl.Device
    • getVersionMinor

      public int getVersionMinor()
      Specified by:
      getVersionMinor in interface com.jme3.opencl.Device
    • getCompilerVersion

      public String getCompilerVersion()
      Specified by:
      getCompilerVersion in interface com.jme3.opencl.Device
    • getCompilerVersionMajor

      public int getCompilerVersionMajor()
      Specified by:
      getCompilerVersionMajor in interface com.jme3.opencl.Device
    • getCompilerVersionMinor

      public int getCompilerVersionMinor()
      Specified by:
      getCompilerVersionMinor in interface com.jme3.opencl.Device
    • getDriverVersion

      public String getDriverVersion()
      Specified by:
      getDriverVersion in interface com.jme3.opencl.Device
    • getDriverVersionMajor

      public int getDriverVersionMajor()
      Specified by:
      getDriverVersionMajor in interface com.jme3.opencl.Device
    • getDriverVersionMinor

      public int getDriverVersionMinor()
      Specified by:
      getDriverVersionMinor in interface com.jme3.opencl.Device
    • getName

      public String getName()
      Specified by:
      getName in interface com.jme3.opencl.Device
    • getVendor

      public String getVendor()
      Specified by:
      getVendor in interface com.jme3.opencl.Device
    • toString

      public String toString()
      Overrides:
      toString in class Object