Struct rcudnn_sys::cudaTextureDesc
source · #[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,
}
Fields§
§addressMode: [cudaTextureAddressMode; 3]
§filterMode: cudaTextureFilterMode
§readMode: cudaTextureReadMode
§sRGB: c_int
§borderColor: [f32; 4]
§normalizedCoords: c_int
§maxAnisotropy: c_uint
§mipmapFilterMode: cudaTextureFilterMode
§mipmapLevelBias: f32
§minMipmapLevelClamp: f32
§maxMipmapLevelClamp: f32
§disableTrilinearOptimization: c_int
§seamlessCubemap: c_int
Trait Implementations§
source§impl Clone for cudaTextureDesc
impl Clone for cudaTextureDesc
source§fn clone(&self) -> cudaTextureDesc
fn clone(&self) -> cudaTextureDesc
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for cudaTextureDesc
impl Debug for cudaTextureDesc
impl Copy for cudaTextureDesc
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§
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