#[repr(C)]pub struct cudaTextureDesc {Show 13 fields
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,
pub seamlessCubemap: c_int,
}Expand description
CUDA texture descriptor.
Fields§
§addressMode: [cudaTextureAddressMode; 3]Texture address mode for up to 3 dimensions.
filterMode: cudaTextureFilterModeTexture filter mode.
readMode: cudaTextureReadModeTexture read mode.
sRGB: c_intPerform sRGB->linear conversion during texture read.
borderColor: [f32; 4]Texture Border Color.
normalizedCoords: c_intIndicates whether texture reads are normalized or not.
maxAnisotropy: c_uintLimit to the anisotropy ratio.
mipmapFilterMode: cudaTextureFilterModeMipmap filter mode.
mipmapLevelBias: f32Offset applied to the supplied mipmap level.
minMipmapLevelClamp: f32Lower end of the mipmap level range to clamp access to.
maxMipmapLevelClamp: f32Upper end of the mipmap level range to clamp access to.
disableTrilinearOptimization: c_intDisable any trilinear filtering optimizations.
seamlessCubemap: c_intEnable seamless cube map filtering.
Trait Implementations§
Source§impl Clone for cudaTextureDesc
impl Clone for cudaTextureDesc
impl Copy for cudaTextureDesc
Source§impl Debug for cudaTextureDesc
impl Debug for cudaTextureDesc
Source§impl Default for cudaTextureDesc
impl Default for cudaTextureDesc
Source§impl PartialEq for cudaTextureDesc
impl PartialEq for cudaTextureDesc
Source§impl PartialOrd for cudaTextureDesc
impl PartialOrd for cudaTextureDesc
impl StructuralPartialEq for cudaTextureDesc
Auto Trait Implementations§
impl Forget for cudaTextureDesc
impl Freeze for cudaTextureDesc
impl Move for cudaTextureDesc
impl RefUnwindSafe for cudaTextureDesc
impl Send for cudaTextureDesc
impl Sync for cudaTextureDesc
impl Unpin for cudaTextureDesc
impl UnsafeUnpin for cudaTextureDesc
impl UnwindSafe for cudaTextureDesc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more