com.jogamp.opencl
Enum CLProgram.Status
java.lang.Object
java.lang.Enum<CLProgram.Status>
com.jogamp.opencl.CLProgram.Status
- All Implemented Interfaces:
- Serializable, Comparable<CLProgram.Status>
- Enclosing class:
- CLProgram
public static enum CLProgram.Status
- extends Enum<CLProgram.Status>
Field Summary |
int |
STATUS
Value of wrapped OpenCL device type. |
BUILD_SUCCESS
public static final CLProgram.Status BUILD_SUCCESS
BUILD_NONE
public static final CLProgram.Status BUILD_NONE
BUILD_IN_PROGRESS
public static final CLProgram.Status BUILD_IN_PROGRESS
BUILD_ERROR
public static final CLProgram.Status BUILD_ERROR
STATUS
public final int STATUS
- Value of wrapped OpenCL device type.
values
public static CLProgram.Status[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CLProgram.Status c : CLProgram.Status.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CLProgram.Status valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
valueOf
public static CLProgram.Status valueOf(int clBuildStatus)