Struct rcudnn_sys::textureReference [−][src]
#[repr(C)]pub struct textureReference {
pub normalized: c_int,
pub filterMode: cudaTextureFilterMode,
pub addressMode: [cudaTextureAddressMode; 3],
pub channelDesc: cudaChannelFormatDesc,
pub sRGB: c_int,
pub maxAnisotropy: c_uint,
pub mipmapFilterMode: cudaTextureFilterMode,
pub mipmapLevelBias: f32,
pub minMipmapLevelClamp: f32,
pub maxMipmapLevelClamp: f32,
pub disableTrilinearOptimization: c_int,
pub __cudaReserved: [c_int; 14],
}
Expand description
CUDA texture reference
Fields
normalized: c_int
Indicates whether texture reads are normalized or not
filterMode: cudaTextureFilterMode
Texture filter mode
addressMode: [cudaTextureAddressMode; 3]
Texture address mode for up to 3 dimensions
channelDesc: cudaChannelFormatDesc
Channel descriptor for the texture reference
sRGB: c_int
Perform sRGB->linear conversion during texture read
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.
__cudaReserved: [c_int; 14]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for textureReference
impl Send for textureReference
impl Sync for textureReference
impl Unpin for textureReference
impl UnwindSafe for textureReference
Blanket Implementations
Mutably borrows from an owned value. Read more