Texture Management [Deprecated]

Texture Management [Deprecated]#

HIP Runtime API Reference: Texture Management [Deprecated]
Texture Management [Deprecated]
Collaboration diagram for Texture Management [Deprecated]:

Functions

hipError_t hipBindTexture (size_t *offset, const textureReference *tex, const void *devPtr, const hipChannelFormatDesc *desc, size_t size __dparm(UINT_MAX))
 
hipError_t hipBindTexture2D (size_t *offset, const textureReference *tex, const void *devPtr, const hipChannelFormatDesc *desc, size_t width, size_t height, size_t pitch)
 
hipError_t hipBindTextureToArray (const textureReference *tex, hipArray_const_t array, const hipChannelFormatDesc *desc)
 
hipError_t hipGetTextureAlignmentOffset (size_t *offset, const textureReference *texref)
 
hipError_t hipUnbindTexture (const textureReference *tex)
 
hipError_t hipTexRefGetAddress (hipDeviceptr_t *dev_ptr, const textureReference *texRef)
 
hipError_t hipTexRefGetAddressMode (enum hipTextureAddressMode *pam, const textureReference *texRef, int dim)
 
hipError_t hipTexRefGetFilterMode (enum hipTextureFilterMode *pfm, const textureReference *texRef)
 
hipError_t hipTexRefGetFlags (unsigned int *pFlags, const textureReference *texRef)
 
hipError_t hipTexRefGetFormat (hipArray_Format *pFormat, int *pNumChannels, const textureReference *texRef)
 
hipError_t hipTexRefGetMaxAnisotropy (int *pmaxAnsio, const textureReference *texRef)
 
hipError_t hipTexRefGetMipmapFilterMode (enum hipTextureFilterMode *pfm, const textureReference *texRef)
 
hipError_t hipTexRefGetMipmapLevelBias (float *pbias, const textureReference *texRef)
 
hipError_t hipTexRefGetMipmapLevelClamp (float *pminMipmapLevelClamp, float *pmaxMipmapLevelClamp, const textureReference *texRef)
 
hipError_t hipTexRefGetMipMappedArray (hipMipmappedArray_t *pArray, const textureReference *texRef)
 
hipError_t hipTexRefSetAddress (size_t *ByteOffset, textureReference *texRef, hipDeviceptr_t dptr, size_t bytes)
 
hipError_t hipTexRefSetAddress2D (textureReference *texRef, const HIP_ARRAY_DESCRIPTOR *desc, hipDeviceptr_t dptr, size_t Pitch)
 
hipError_t hipTexRefSetMaxAnisotropy (textureReference *texRef, unsigned int maxAniso)
 

Detailed Description

This section describes the deprecated texture management functions of HIP runtime API.

Function Documentation

◆ hipBindTexture()

hipError_t hipBindTexture ( size_t *  offset,
const textureReference tex,
const void *  devPtr,
const hipChannelFormatDesc desc,
size_t size   __dparmUINT_MAX 
)

◆ hipBindTexture2D()

hipError_t hipBindTexture2D ( size_t *  offset,
const textureReference tex,
const void *  devPtr,
const hipChannelFormatDesc desc,
size_t  width,
size_t  height,
size_t  pitch 
)

◆ hipBindTextureToArray()

hipError_t hipBindTextureToArray ( const textureReference tex,
hipArray_const_t  array,
const hipChannelFormatDesc desc 
)

◆ hipGetTextureAlignmentOffset()

hipError_t hipGetTextureAlignmentOffset ( size_t *  offset,
const textureReference texref 
)

◆ hipTexRefGetAddress()

hipError_t hipTexRefGetAddress ( hipDeviceptr_t dev_ptr,
const textureReference texRef 
)

◆ hipTexRefGetAddressMode()

hipError_t hipTexRefGetAddressMode ( enum hipTextureAddressMode pam,
const textureReference texRef,
int  dim 
)

◆ hipTexRefGetFilterMode()

hipError_t hipTexRefGetFilterMode ( enum hipTextureFilterMode pfm,
const textureReference texRef 
)

◆ hipTexRefGetFlags()

hipError_t hipTexRefGetFlags ( unsigned int *  pFlags,
const textureReference texRef 
)

◆ hipTexRefGetFormat()

hipError_t hipTexRefGetFormat ( hipArray_Format pFormat,
int *  pNumChannels,
const textureReference texRef 
)

◆ hipTexRefGetMaxAnisotropy()

hipError_t hipTexRefGetMaxAnisotropy ( int *  pmaxAnsio,
const textureReference texRef 
)

◆ hipTexRefGetMipmapFilterMode()

hipError_t hipTexRefGetMipmapFilterMode ( enum hipTextureFilterMode pfm,
const textureReference texRef 
)

◆ hipTexRefGetMipmapLevelBias()

hipError_t hipTexRefGetMipmapLevelBias ( float *  pbias,
const textureReference texRef 
)

◆ hipTexRefGetMipmapLevelClamp()

hipError_t hipTexRefGetMipmapLevelClamp ( float *  pminMipmapLevelClamp,
float *  pmaxMipmapLevelClamp,
const textureReference texRef 
)

◆ hipTexRefGetMipMappedArray()

hipError_t hipTexRefGetMipMappedArray ( hipMipmappedArray_t *  pArray,
const textureReference texRef 
)

◆ hipTexRefSetAddress()

hipError_t hipTexRefSetAddress ( size_t *  ByteOffset,
textureReference texRef,
hipDeviceptr_t  dptr,
size_t  bytes 
)

◆ hipTexRefSetAddress2D()

hipError_t hipTexRefSetAddress2D ( textureReference texRef,
const HIP_ARRAY_DESCRIPTOR desc,
hipDeviceptr_t  dptr,
size_t  Pitch 
)

◆ hipTexRefSetMaxAnisotropy()

hipError_t hipTexRefSetMaxAnisotropy ( textureReference texRef,
unsigned int  maxAniso 
)

◆ hipUnbindTexture()

hipError_t hipUnbindTexture ( const textureReference tex)