public class cudaGraphicsRegisterFlags extends Object
Modifier and Type | Field and Description |
---|---|
static int |
cudaGraphicsRegisterFlagsNone
Default
|
static int |
cudaGraphicsRegisterFlagsReadOnly
CUDA will not write to this resource
|
static int |
cudaGraphicsRegisterFlagsSurfaceLoadStore
CUDA will bind this resource to a surface reference
|
static int |
cudaGraphicsRegisterFlagsTextureGather
CUDA will perform texture gather operations on this resource
|
static int |
cudaGraphicsRegisterFlagsWriteDiscard
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 cudaGraphicsRegisterFlags
|
public static final int cudaGraphicsRegisterFlagsNone
public static final int cudaGraphicsRegisterFlagsReadOnly
public static final int cudaGraphicsRegisterFlagsWriteDiscard
public static final int cudaGraphicsRegisterFlagsSurfaceLoadStore
public static final int cudaGraphicsRegisterFlagsTextureGather
public static String stringFor(int n)
n
- The cudaGraphicsRegisterFlagsCopyright © 2020. All rights reserved.