#[repr(C)]pub struct textureReference {Show 14 fields
pub normalized: c_int,
pub readMode: hipTextureReadMode,
pub filterMode: hipTextureFilterMode,
pub addressMode: [hipTextureAddressMode; 3],
pub channelDesc: hipChannelFormatDesc,
pub sRGB: c_int,
pub maxAnisotropy: c_uint,
pub mipmapFilterMode: hipTextureFilterMode,
pub mipmapLevelBias: f32,
pub minMipmapLevelClamp: f32,
pub maxMipmapLevelClamp: f32,
pub textureObject: hipTextureObject_t,
pub numChannels: c_int,
pub format: hipArray_Format,
}
Expand description
hip texture reference
Fields§
§normalized: c_int
§readMode: hipTextureReadMode
§filterMode: hipTextureFilterMode
§addressMode: [hipTextureAddressMode; 3]
§channelDesc: hipChannelFormatDesc
§sRGB: c_int
§maxAnisotropy: c_uint
§mipmapFilterMode: hipTextureFilterMode
§mipmapLevelBias: f32
§minMipmapLevelClamp: f32
§maxMipmapLevelClamp: f32
§textureObject: hipTextureObject_t
§numChannels: c_int
§format: hipArray_Format
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 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