libktx Reference 4.3.2
Libraries and tools to create and read KTX image texture files.
Loading...
Searching...
No Matches
ktxHashListEntry Class Reference

Opaque handle to an entry in a ktxHashList. More...

#include <ktx.h>

Public Member Functions

KTX_error_code ktxHashListEntry_GetKey (ktxHashListEntry *This, unsigned int *pKeyLen, char **ppKey)
 Return the key of a ktxHashListEntry.
 
KTX_error_code ktxHashListEntry_GetValue (ktxHashListEntry *This, unsigned int *pValueLen, void **ppValue)
 Return the value from a ktxHashListEntry.
 

Detailed Description

Opaque handle to an entry in a ktxHashList.

Member Function Documentation

◆ ktxHashListEntry_GetKey()

KTX_error_code ktxHashListEntry_GetKey ( ktxHashListEntry This,
unsigned int *  pKeyLen,
char **  ppKey 
)

Return the key of a ktxHashListEntry.

Parameters
[in]ThisThe target hash list entry.
[in,out]pKeyLen*pKeyLen is set to the byte length of the returned key.
[in,out]ppKey*ppKey is set to the point to the value of the key.
Returns
KTX_SUCCESS or one of the following error codes.
Exceptions
KTX_INVALID_VALUEif pKvd or pHt is NULL or kvdLen == 0.

◆ ktxHashListEntry_GetValue()

KTX_error_code ktxHashListEntry_GetValue ( ktxHashListEntry This,
unsigned int *  pValueLen,
void **  ppValue 
)

Return the value from a ktxHashListEntry.

Parameters
[in]ThisThe target hash list entry.
[in,out]pValueLen*pValueLen is set to the number of bytes of data in the returned value.
[in,out]ppValue*ppValue is set to point to the value of of the target entry.
Returns
KTX_SUCCESS or one of the following error codes.
Exceptions
KTX_INVALID_VALUEif pKvd or pHt is NULL or kvdLen == 0.