Struct hip_runtime_sys::HIP_TEXTURE_DESC_st
source · #[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
source§impl Default for HIP_TEXTURE_DESC_st
impl Default for HIP_TEXTURE_DESC_st
source§impl PartialEq<HIP_TEXTURE_DESC_st> for HIP_TEXTURE_DESC_st
impl PartialEq<HIP_TEXTURE_DESC_st> for HIP_TEXTURE_DESC_st
source§fn eq(&self, other: &HIP_TEXTURE_DESC_st) -> bool
fn eq(&self, other: &HIP_TEXTURE_DESC_st) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<HIP_TEXTURE_DESC_st> for HIP_TEXTURE_DESC_st
impl PartialOrd<HIP_TEXTURE_DESC_st> for HIP_TEXTURE_DESC_st
source§fn partial_cmp(&self, other: &HIP_TEXTURE_DESC_st) -> Option<Ordering>
fn partial_cmp(&self, other: &HIP_TEXTURE_DESC_st) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for HIP_TEXTURE_DESC_st
impl StructuralPartialEq for HIP_TEXTURE_DESC_st
Auto Trait Implementations§
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