public class cudaGraphicsMapFlags extends Object
Modifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
static String |
stringFor(int n)
Returns the String identifying the given cudaGraphicsMapFlags
|
public static final int cudaGraphicsMapFlagsNone
public static final int cudaGraphicsMapFlagsReadOnly
public static final int cudaGraphicsMapFlagsWriteDiscard
public static String stringFor(int n)
n
- The cudaGraphicsMapFlagsCopyright © 2020. All rights reserved.