Struct rcudnn_sys::cudaTextureDesc [−][src]
#[repr(C)]pub struct cudaTextureDesc {
pub addressMode: [cudaTextureAddressMode; 3],
pub filterMode: cudaTextureFilterMode,
pub readMode: cudaTextureReadMode,
pub sRGB: c_int,
pub borderColor: [f32; 4],
pub normalizedCoords: c_int,
pub maxAnisotropy: c_uint,
pub mipmapFilterMode: cudaTextureFilterMode,
pub mipmapLevelBias: f32,
pub minMipmapLevelClamp: f32,
pub maxMipmapLevelClamp: f32,
pub disableTrilinearOptimization: c_int,
}
Expand description
CUDA texture descriptor
Fields
addressMode: [cudaTextureAddressMode; 3]
Texture address mode for up to 3 dimensions
filterMode: cudaTextureFilterMode
Texture filter mode
readMode: cudaTextureReadMode
Texture read mode
sRGB: c_int
Perform sRGB->linear conversion during texture read
borderColor: [f32; 4]
Texture Border Color
normalizedCoords: c_int
Indicates whether texture reads are normalized or not
maxAnisotropy: c_uint
Limit to the anisotropy ratio
mipmapFilterMode: cudaTextureFilterMode
Mipmap filter mode
mipmapLevelBias: f32
Offset applied to the supplied mipmap level
minMipmapLevelClamp: f32
Lower end of the mipmap level range to clamp access to
maxMipmapLevelClamp: f32
Upper end of the mipmap level range to clamp access to
disableTrilinearOptimization: c_int
Disable any trilinear filtering optimizations.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for cudaTextureDesc
impl Send for cudaTextureDesc
impl Sync for cudaTextureDesc
impl Unpin for cudaTextureDesc
impl UnwindSafe for cudaTextureDesc
Blanket Implementations
Mutably borrows from an owned value. Read more