cubecl_hip_sys

Type Alias HIP_TEXTURE_DESC

Source
pub type HIP_TEXTURE_DESC = HIP_TEXTURE_DESC_st;
Expand description

Texture descriptor

Aliased Type§

struct HIP_TEXTURE_DESC {
    pub addressMode: [u32; 3],
    pub filterMode: u32,
    pub flags: u32,
    pub maxAnisotropy: u32,
    pub mipmapFilterMode: u32,
    pub mipmapLevelBias: f32,
    pub minMipmapLevelClamp: f32,
    pub maxMipmapLevelClamp: f32,
    pub borderColor: [f32; 4],
    pub reserved: [i32; 12],
}

Fields§

§addressMode: [u32; 3]

< Address modes

§filterMode: u32

< Filter mode

§flags: u32

< Flags

§maxAnisotropy: u32

< Maximum anisotropy ratio

§mipmapFilterMode: u32

< 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: [i32; 12]