jcuda.runtime
Class cudaGraphicsMapFlags

java.lang.Object
  extended by jcuda.runtime.cudaGraphicsMapFlags

public class cudaGraphicsMapFlags
extends java.lang.Object

CUDA graphics interop map flags


Field Summary
static int cudaGraphicsMapFlagsNone
          Default; Assume resource can be read/written
static int cudaGraphicsMapFlagsReadOnly
          CUDA will not write to this resource
static int cudaGraphicsMapFlagsWriteDiscard
          CUDA will only write to and will not read from this resource
 
Method Summary
static java.lang.String stringFor(int n)
          Returns the String identifying the given cudaGraphicsMapFlags
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cudaGraphicsMapFlagsNone

public static final int cudaGraphicsMapFlagsNone
Default; Assume resource can be read/written

See Also:
Constant Field Values

cudaGraphicsMapFlagsReadOnly

public static final int cudaGraphicsMapFlagsReadOnly
CUDA will not write to this resource

See Also:
Constant Field Values

cudaGraphicsMapFlagsWriteDiscard

public static final int cudaGraphicsMapFlagsWriteDiscard
CUDA will only write to and will not read from this resource

See Also:
Constant Field Values
Method Detail

stringFor

public static java.lang.String stringFor(int n)
Returns the String identifying the given cudaGraphicsMapFlags

Parameters:
n - The cudaGraphicsMapFlags
Returns:
The String identifying the given cudaGraphicsMapFlags