This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

hipTextureDesc Struct Reference

hipTextureDesc Struct Reference#

HIP Runtime API Reference: hipTextureDesc Struct Reference
hipTextureDesc Struct Reference

#include <texture_types.h>

Data Fields

enum hipTextureAddressMode addressMode [3]
 
enum hipTextureFilterMode filterMode
 
enum hipTextureReadMode readMode
 
int sRGB
 
float borderColor [4]
 
int normalizedCoords
 
unsigned int maxAnisotropy
 
enum hipTextureFilterMode mipmapFilterMode
 
float mipmapLevelBias
 
float minMipmapLevelClamp
 
float maxMipmapLevelClamp
 

Detailed Description

hip texture descriptor

Field Documentation

◆ addressMode

enum hipTextureAddressMode hipTextureDesc::addressMode[3]

◆ borderColor

float hipTextureDesc::borderColor[4]

◆ filterMode

enum hipTextureFilterMode hipTextureDesc::filterMode

◆ maxAnisotropy

unsigned int hipTextureDesc::maxAnisotropy

◆ maxMipmapLevelClamp

float hipTextureDesc::maxMipmapLevelClamp

◆ minMipmapLevelClamp

float hipTextureDesc::minMipmapLevelClamp

◆ mipmapFilterMode

enum hipTextureFilterMode hipTextureDesc::mipmapFilterMode

◆ mipmapLevelBias

float hipTextureDesc::mipmapLevelBias

◆ normalizedCoords

int hipTextureDesc::normalizedCoords

◆ readMode

enum hipTextureReadMode hipTextureDesc::readMode

◆ sRGB

int hipTextureDesc::sRGB

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