texture< T, texType, mode > Struct Template Reference

texture&lt; T, texType, mode &gt; Struct Template Reference#

HIP Runtime API Reference: texture< T, texType, mode > Struct Template Reference
texture< T, texType, mode > Struct Template Reference

#include <texture_types.h>

Inheritance diagram for texture< T, texType, mode >:
[legend]
Collaboration diagram for texture< T, texType, mode >:
[legend]

Public Member Functions

 texture (int norm=0, enum hipTextureFilterMode fMode=hipFilterModePoint, enum hipTextureAddressMode aMode=hipAddressModeClamp)
 
 texture (int norm, enum hipTextureFilterMode fMode, enum hipTextureAddressMode aMode, struct hipChannelFormatDesc desc)
 

Additional Inherited Members

- Data Fields inherited from textureReference
int normalized
 
enum hipTextureReadMode readMode
 
enum hipTextureFilterMode filterMode
 
enum hipTextureAddressMode addressMode [3]
 
struct hipChannelFormatDesc channelDesc
 
int sRGB
 
unsigned int maxAnisotropy
 
enum hipTextureFilterMode mipmapFilterMode
 
float mipmapLevelBias
 
float minMipmapLevelClamp
 
float maxMipmapLevelClamp
 
hipTextureObject_t textureObject
 
int numChannels
 
enum hipArray_Format format
 

Constructor & Destructor Documentation

◆ texture() [1/2]

template<class T , int texType = hipTextureType1D, enum hipTextureReadMode mode = hipReadModeElementType>
texture< T, texType, mode >::texture ( int  norm = 0,
enum hipTextureFilterMode  fMode = hipFilterModePoint,
enum hipTextureAddressMode  aMode = hipAddressModeClamp 
)
inline

◆ texture() [2/2]

template<class T , int texType = hipTextureType1D, enum hipTextureReadMode mode = hipReadModeElementType>
texture< T, texType, mode >::texture ( int  norm,
enum hipTextureFilterMode  fMode,
enum hipTextureAddressMode  aMode,
struct hipChannelFormatDesc  desc 
)
inline

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.3.0/include/hip/texture_types.h