Struct rcudnn_sys::textureReference
source · #[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],
}
Fields§
§normalized: c_int
§filterMode: cudaTextureFilterMode
§addressMode: [cudaTextureAddressMode; 3]
§channelDesc: cudaChannelFormatDesc
§sRGB: c_int
§maxAnisotropy: c_uint
§mipmapFilterMode: cudaTextureFilterMode
§mipmapLevelBias: f32
§minMipmapLevelClamp: f32
§maxMipmapLevelClamp: f32
§disableTrilinearOptimization: c_int
§__cudaReserved: [c_int; 14]
Trait Implementations§
source§impl Clone for textureReference
impl Clone for textureReference
source§fn clone(&self) -> textureReference
fn clone(&self) -> textureReference
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 textureReference
impl Debug for textureReference
impl Copy for textureReference
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§
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