Struct hip_sys::hiprt::textureReference
source · #[repr(C)]pub struct textureReference {Show 14 fields
pub normalized: i32,
pub readMode: hipTextureReadMode,
pub filterMode: hipTextureFilterMode,
pub addressMode: [hipTextureAddressMode; 3],
pub channelDesc: hipChannelFormatDesc,
pub sRGB: i32,
pub maxAnisotropy: u32,
pub mipmapFilterMode: hipTextureFilterMode,
pub mipmapLevelBias: f32,
pub minMipmapLevelClamp: f32,
pub maxMipmapLevelClamp: f32,
pub textureObject: *mut __hip_texture,
pub numChannels: i32,
pub format: hipArray_Format,
}Expand description
hip texture reference
Fields§
§normalized: i32§readMode: hipTextureReadMode§filterMode: hipTextureFilterMode§addressMode: [hipTextureAddressMode; 3]§channelDesc: hipChannelFormatDesc§sRGB: i32§maxAnisotropy: u32§mipmapFilterMode: hipTextureFilterMode§mipmapLevelBias: f32§minMipmapLevelClamp: f32§maxMipmapLevelClamp: f32§textureObject: *mut __hip_texture§numChannels: i32§format: hipArray_FormatTrait 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
source§impl Default for textureReference
impl Default for textureReference
source§fn default() -> textureReference
fn default() -> textureReference
Returns the “default value” for a type. Read more
source§impl PartialEq<textureReference> for textureReference
impl PartialEq<textureReference> for textureReference
source§fn eq(&self, other: &textureReference) -> bool
fn eq(&self, other: &textureReference) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<textureReference> for textureReference
impl PartialOrd<textureReference> for textureReference
source§fn partial_cmp(&self, other: &textureReference) -> Option<Ordering>
fn partial_cmp(&self, other: &textureReference) -> 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 textureReference
impl StructuralPartialEq for textureReference
Auto Trait Implementations§
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