#[repr(C)]pub struct hipTextureDesc {
pub addressMode: [hipTextureAddressMode; 3],
pub filterMode: hipTextureFilterMode,
pub readMode: hipTextureReadMode,
pub sRGB: c_int,
pub borderColor: [f32; 4],
pub normalizedCoords: c_int,
pub maxAnisotropy: c_uint,
pub mipmapFilterMode: hipTextureFilterMode,
pub mipmapLevelBias: f32,
pub minMipmapLevelClamp: f32,
pub maxMipmapLevelClamp: f32,
}
Expand description
hip texture descriptor
Fields§
§addressMode: [hipTextureAddressMode; 3]
§filterMode: hipTextureFilterMode
§readMode: hipTextureReadMode
§sRGB: c_int
§borderColor: [f32; 4]
§normalizedCoords: c_int
§maxAnisotropy: c_uint
§mipmapFilterMode: hipTextureFilterMode
§mipmapLevelBias: f32
§minMipmapLevelClamp: f32
§maxMipmapLevelClamp: f32
Trait Implementations§
Source§impl Clone for hipTextureDesc
impl Clone for hipTextureDesc
Source§fn clone(&self) -> hipTextureDesc
fn clone(&self) -> hipTextureDesc
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 hipTextureDesc
impl Debug for hipTextureDesc
impl Copy for hipTextureDesc
Auto Trait Implementations§
impl Freeze for hipTextureDesc
impl RefUnwindSafe for hipTextureDesc
impl Send for hipTextureDesc
impl Sync for hipTextureDesc
impl Unpin for hipTextureDesc
impl UnwindSafe for hipTextureDesc
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