#[repr(C)]pub struct HIP_TEXTURE_DESC_st {
pub addressMode: [HIPaddress_mode; 3],
pub filterMode: HIPfilter_mode,
pub flags: c_uint,
pub maxAnisotropy: c_uint,
pub mipmapFilterMode: HIPfilter_mode,
pub mipmapLevelBias: f32,
pub minMipmapLevelClamp: f32,
pub maxMipmapLevelClamp: f32,
pub borderColor: [f32; 4],
pub reserved: [c_int; 12],
}
Expand description
Texture descriptor
Fields§
§addressMode: [HIPaddress_mode; 3]
< Address modes
filterMode: HIPfilter_mode
< Filter mode
flags: c_uint
< Flags
maxAnisotropy: c_uint
< Maximum anisotropy ratio
mipmapFilterMode: HIPfilter_mode
< Mipmap filter mode
mipmapLevelBias: f32
< Mipmap level bias
minMipmapLevelClamp: f32
< Mipmap minimum level clamp
maxMipmapLevelClamp: f32
< Mipmap maximum level clamp
borderColor: [f32; 4]
< Border Color
reserved: [c_int; 12]
Trait Implementations§
Source§impl Clone for HIP_TEXTURE_DESC_st
impl Clone for HIP_TEXTURE_DESC_st
Source§fn clone(&self) -> HIP_TEXTURE_DESC_st
fn clone(&self) -> HIP_TEXTURE_DESC_st
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 HIP_TEXTURE_DESC_st
impl Debug for HIP_TEXTURE_DESC_st
impl Copy for HIP_TEXTURE_DESC_st
Auto Trait Implementations§
impl Freeze for HIP_TEXTURE_DESC_st
impl RefUnwindSafe for HIP_TEXTURE_DESC_st
impl Send for HIP_TEXTURE_DESC_st
impl Sync for HIP_TEXTURE_DESC_st
impl Unpin for HIP_TEXTURE_DESC_st
impl UnwindSafe for HIP_TEXTURE_DESC_st
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