HIP_TEXTURE_DESC Struct Reference

HIP_TEXTURE_DESC Struct Reference#

HIP Runtime API Reference: HIP_TEXTURE_DESC Struct Reference
HIP_TEXTURE_DESC Struct Reference

#include <driver_types.h>

Data Fields

HIPaddress_mode addressMode [3]
 Address modes.
 
HIPfilter_mode filterMode
 Filter mode.
 
unsigned int flags
 Flags.
 
unsigned int maxAnisotropy
 Maximum anisotropy ratio.
 
HIPfilter_mode mipmapFilterMode
 Mipmap filter mode.
 
float mipmapLevelBias
 Mipmap level bias.
 
float minMipmapLevelClamp
 Mipmap minimum level clamp.
 
float maxMipmapLevelClamp
 Mipmap maximum level clamp.
 
float borderColor [4]
 Border Color.
 
int reserved [12]
 

Detailed Description

HIP texture descriptor

Field Documentation

◆ addressMode

HIPaddress_mode HIP_TEXTURE_DESC::addressMode[3]

Address modes.

◆ borderColor

float HIP_TEXTURE_DESC::borderColor[4]

Border Color.

◆ filterMode

HIPfilter_mode HIP_TEXTURE_DESC::filterMode

Filter mode.

◆ flags

unsigned int HIP_TEXTURE_DESC::flags

Flags.

◆ maxAnisotropy

unsigned int HIP_TEXTURE_DESC::maxAnisotropy

Maximum anisotropy ratio.

◆ maxMipmapLevelClamp

float HIP_TEXTURE_DESC::maxMipmapLevelClamp

Mipmap maximum level clamp.

◆ minMipmapLevelClamp

float HIP_TEXTURE_DESC::minMipmapLevelClamp

Mipmap minimum level clamp.

◆ mipmapFilterMode

HIPfilter_mode HIP_TEXTURE_DESC::mipmapFilterMode

Mipmap filter mode.

◆ mipmapLevelBias

float HIP_TEXTURE_DESC::mipmapLevelBias

Mipmap level bias.

◆ reserved

int HIP_TEXTURE_DESC::reserved[12]

The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/docs-6.2.1/include/hip/driver_types.h