Enum rcudnn_sys::cudaGraphicsRegisterFlags [−][src]
#[repr(u32)]
#[non_exhaustive]
pub enum cudaGraphicsRegisterFlags {
cudaGraphicsRegisterFlagsNone,
cudaGraphicsRegisterFlagsReadOnly,
cudaGraphicsRegisterFlagsWriteDiscard,
cudaGraphicsRegisterFlagsSurfaceLoadStore,
cudaGraphicsRegisterFlagsTextureGather,
}
Expand description
CUDA graphics interop register flags
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
cudaGraphicsRegisterFlagsNone
< Default
cudaGraphicsRegisterFlagsReadOnly
< CUDA will not write to this resource
cudaGraphicsRegisterFlagsWriteDiscard
< CUDA will only write to and will not read from this resource
cudaGraphicsRegisterFlagsSurfaceLoadStore
< CUDA will bind this resource to a surface reference
cudaGraphicsRegisterFlagsTextureGather
< CUDA will perform texture gather operations on this resource
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for cudaGraphicsRegisterFlags
impl Send for cudaGraphicsRegisterFlags
impl Sync for cudaGraphicsRegisterFlags
impl Unpin for cudaGraphicsRegisterFlags
impl UnwindSafe for cudaGraphicsRegisterFlags
Blanket Implementations
Mutably borrows from an owned value. Read more