#[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 __cudaReserved: [c_int; 15],
}
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
§__cudaReserved: [c_int; 15]
Trait Implementations§
Source§impl Clone for textureReference
impl Clone for textureReference
Source§fn clone(&self) -> textureReference
fn clone(&self) -> textureReference
Returns a duplicate 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
Source§impl Default for textureReference
impl Default for textureReference
Source§impl PartialEq for textureReference
impl PartialEq for textureReference
Source§impl PartialOrd for textureReference
impl PartialOrd for textureReference
impl Copy for textureReference
impl StructuralPartialEq for textureReference
Auto Trait Implementations§
impl Freeze for textureReference
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