Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SaschaWillems/HowToVulkan
/ functions
Functions
203 in github.com/SaschaWillems/HowToVulkan
⨍
Functions
203
◇
Types & classes
63
↓ 58 callers
Function
chk
source/main.cpp:87
↓ 30 callers
Function
parseReal
source/external/tinyobj/tiny_obj_loader.h:1041
↓ 15 callers
Function
ParseTextureNameAndOption
source/external/tinyobj/tiny_obj_loader.h:1285
↓ 15 callers
Method
clear
source/external/tinyobj/tiny_obj_loader.h:752
↓ 13 callers
Function
InitTexOpt
source/external/tinyobj/tiny_obj_loader.h:1371
↓ 11 callers
Function
parseReal3
source/external/tinyobj/tiny_obj_loader.h:1071
↓ 7 callers
Function
parseString
source/external/tinyobj/tiny_obj_loader.h:865
↓ 7 callers
Function
setImageLayout
* @internal * @~English * @brief Create an image memory barrier for changing the layout of an image. * * The barrier is placed in the passed comma
source/external/ktx/lib/vkloader.c:1177
↓ 6 callers
Function
_ktxSwapEndian32
* SwapEndian32: Swaps endianness in an array of 32-bit values */
source/external/ktx/lib/swap.c:41
↓ 6 callers
Function
ktxTexture_GetImageSize
* @memberof ktxTexture * @~English * @brief Calculate & return the size in bytes of an image at the specified * mip level. * * For arrays,
source/external/ktx/lib/texture.c:875
↓ 6 callers
Function
parseInt
source/external/tinyobj/tiny_obj_loader.h:874
↓ 4 callers
Function
decompressBlockPlanar57c
Decompress the planar mode. NO WARRANTY --- SEE STATEMENT IN TOP OF FILE (C) Ericsson AB 2013. All Rights Reserved.
source/external/ktx/lib/etcdec.cxx:705
↓ 4 callers
Function
decompressColor
The color bits are expanded to the full color NO WARRANTY --- SEE STATEMENT IN TOP OF FILE (C) Ericsson AB 2013. All Rights Reserved.
source/external/ktx/lib/etcdec.cxx:486
↓ 4 callers
Function
exportGroupsToShape
TODO(syoyo): refactor function.
source/external/tinyobj/tiny_obj_loader.h:1493
↓ 4 callers
Function
fixIndex
Make index zero-base, and also support relative index.
source/external/tinyobj/tiny_obj_loader.h:830
↓ 4 callers
Function
ktxFileStream_construct
* @internal * @~English * @brief Initialize a ktxFileStream. * * @param [in] str pointer to the ktxStream to initialize. * @param [in] file
source/external/ktx/lib/filestream.c:285
↓ 4 callers
Function
ktxTexture_GetImageOffset
* @memberof ktxTexture * @~English * @brief Find the offset of an image within a ktxTexture's image data. * * As there is no such thing as a 3D cu
source/external/ktx/lib/texture.c:1599
↓ 4 callers
Function
toString
source/external/tinyobj/tiny_obj_loader.h:807
↓ 3 callers
Function
LoadMtl
source/external/tinyobj/tiny_obj_loader.h:2080
↓ 3 callers
Function
LoadObj
source/external/tinyobj/tiny_obj_loader.h:2563
↓ 3 callers
Function
decompressBlockAlpha16bitC
Decompresses a block using one of the GL_COMPRESSED_R11_EAC or GL_COMPRESSED_SIGNED_R11_EAC-formats NO WARRANTY --- SEE STATEMENT IN TOP OF FILE (C) E
source/external/ktx/lib/etcdec.cxx:1778
↓ 3 callers
Function
decompressBlockDiffFlipC
Decompress an ETC1 block (or ETC2 using individual or differential mode). NO WARRANTY --- SEE STATEMENT IN TOP OF FILE (C) Ericsson AB 2013. All Right
source/external/ktx/lib/etcdec.cxx:755
↓ 3 callers
Function
decompressBlockDifferentialWithAlphaC
Decompress an ETC2 block with punchthrough alpha NO WARRANTY --- SEE STATEMENT IN TOP OF FILE (C) Ericsson AB 2013. All Rights Reserved.
source/external/ktx/lib/etcdec.cxx:1109
↓ 3 callers
Function
decompressBlockTHUMB58Hc
Decompress an H-mode block NO WARRANTY --- SEE STATEMENT IN TOP OF FILE (C) Ericsson AB 2013. All Rights Reserved.
source/external/ktx/lib/etcdec.cxx:647
↓ 3 callers
Function
decompressBlockTHUMB59Tc
Decompress a T-mode block (simple packing) Simple 59T packing: |63 62 61 60 59|58 57 56 55|54 53 52 51|50 49 48 47|46 45 44 43|42 41 40 39|38 37 36 35
source/external/ktx/lib/etcdec.cxx:554
↓ 3 callers
Function
dot
source/external/tinyobj/tiny_obj_loader.h:1474
↓ 3 callers
Function
ktxHashList_Construct
* @memberof ktxHashList @public * @~English * @brief Construct an empty hash list for storing key-value pairs. * * @param [in] pHead pointer to th
source/external/ktx/lib/hashlist.c:71
↓ 3 callers
Function
ktxMemStream_destruct
* @internal * @~English * @brief Free the memory used by a ktxMemStream. * * This only frees the memory used to store the data written to the stre
source/external/ktx/lib/memstream.c:580
↓ 3 callers
Function
ktxTextureInt_constructFromStream
* @memberof ktxTexture @private * @brief Construct a ktxTexture from a ktxStream reading from a KTX source. * * The caller constructs the stream in
source/external/ktx/lib/texture.c:275
↓ 3 callers
Function
ktxTexture_levelSize
* @memberof ktxTexture @private * @~English * @brief Calculate the size of the specified mip level. * * The size of a level is the size of a layer
source/external/ktx/lib/texture.c:1379
↓ 3 callers
Function
ktxVulkanDeviceInfo_getMemoryType
Get appropriate memory type index for a memory allocation. */
source/external/ktx/lib/vkloader.c:234
↓ 3 callers
Function
padRow
* @internal * @brief Calculate and apply the padding needed to comply with * KTX_GL_UNPACK_ALIGNMENT. * * For uncompressed textures, KTX
source/external/ktx/lib/texture.c:1312
↓ 3 callers
Function
parseOnOff
source/external/tinyobj/tiny_obj_loader.h:1132
↓ 3 callers
Function
parseReal2
source/external/tinyobj/tiny_obj_loader.h:1064
↓ 3 callers
Function
parseTriple
Parse triples with index offsets: i, i/j/k, i//k, i/j
source/external/tinyobj/tiny_obj_loader.h:1199
↓ 3 callers
Function
unstuff57bits
The format stores the bits for the three extra modes in a roundabout way to be able to fit them without increasing the bit rate. This function convert
source/external/ktx/lib/etcdec.cxx:335
↓ 3 callers
Function
unstuff58bits
The format stores the bits for the three extra modes in a roundabout way to be able to fit them without increasing the bit rate. This function convert
source/external/ktx/lib/etcdec.cxx:405
↓ 3 callers
Function
unstuff59bits
The format stores the bits for the three extra modes in a roundabout way to be able to fit them without increasing the bit rate. This function convert
source/external/ktx/lib/etcdec.cxx:439
↓ 2 callers
Function
GetLength
source/external/tinyobj/tiny_obj_loader.h:1478
↓ 2 callers
Function
InitMaterial
source/external/tinyobj/tiny_obj_loader.h:1397
↓ 2 callers
Function
SplitString
Split a string with specified delimiter character and escape character. https://rosettacode.org/wiki/Tokenize_a_string_with_escaping#C.2B.2B
source/external/tinyobj/tiny_obj_loader.h:2040
↓ 2 callers
Function
_ktxSwapEndian16
* SwapEndian16: Swaps endianness in an array of 16-bit values */
source/external/ktx/lib/swap.c:27
↓ 2 callers
Function
calculatePaintColors58H
Calculate the paint colors from the block colors using a distance d and one of the H- or T-patterns. NO WARRANTY --- SEE STATEMENT IN TOP OF FILE (C)
source/external/ktx/lib/etcdec.cxx:603
↓ 2 callers
Function
calculatePaintColors59T
source/external/ktx/lib/etcdec.cxx:505
↓ 2 callers
Function
chkSwapchain
source/main.cpp:93
↓ 2 callers
Function
cross
source/external/tinyobj/tiny_obj_loader.h:1469
↓ 2 callers
Function
decompressBlockAlphaC
Decodes tha alpha component in a block coded with GL_COMPRESSED_RGBA8_ETC2_EAC. Note that this decoding is slightly different from that of GL_COMPRESS
source/external/ktx/lib/etcdec.cxx:1655
↓ 2 callers
Function
decompressBlockETC21BitAlphaC
Decompression function for ETC2_RGBA1 format. NO WARRANTY --- SEE STATEMENT IN TOP OF FILE (C) Ericsson AB 2013. All Rights Reserved.
source/external/ktx/lib/etcdec.cxx:1487
↓ 2 callers
Function
decompressBlockETC2c
Decompress an ETC2 RGB block NO WARRANTY --- SEE STATEMENT IN TOP OF FILE (C) Ericsson AB 2013. All Rights Reserved.
source/external/ktx/lib/etcdec.cxx:1038
↓ 2 callers
Function
decompressBlockTHUMB58HAlphaC
Decompress an H-mode block with alpha NO WARRANTY --- SEE STATEMENT IN TOP OF FILE (C) Ericsson AB 2013. All Rights Reserved.
source/external/ktx/lib/etcdec.cxx:1406
↓ 2 callers
Function
decompressBlockTHUMB59TAlphaC
similar to regular decompression, but alpha channel is set to 0 if pixel index is 2, otherwise 255. NO WARRANTY --- SEE STATEMENT IN TOP OF FILE (C) E
source/external/ktx/lib/etcdec.cxx:1334
↓ 2 callers
Function
generateMipmaps
@internal * @~English * @brief Generate mipmaps from base using @c VkCmdBlitImage. * * Mipmaps are generated by blitting level n from level n-1 as
source/external/ktx/lib/vkloader.c:1332
↓ 2 callers
Function
get16bits11bits
Does decompression and then immediately converts from 11 bit signed to a 16-bit format Calculates the 11 bit value represented by base, table, mul and
source/external/ktx/lib/etcdec.cxx:1739
↓ 2 callers
Function
get16bits11signed
Does decompression and then immediately converts from 11 bit signed to a 16-bit format. NO WARRANTY --- SEE STATEMENT IN TOP OF FILE (C) Ericsson AB
source/external/ktx/lib/etcdec.cxx:1691
↓ 2 callers
Function
getbit
bit number frompos is extracted from input, and moved to bit number topos in the return value. NO WARRANTY --- SEE STATEMENT IN TOP OF FILE (C) Ericss
source/external/ktx/lib/etcdec.cxx:1632
↓ 2 callers
Function
glGetFormatSize
source/external/ktx/lib/gl_format.h:1650
↓ 2 callers
Function
ktxHashList_Create
* @memberof ktxHashList @public * @~English * @brief Create an empty hash list for storing key-value pairs. * * @param [in,out] ppHl address of a
source/external/ktx/lib/hashlist.c:112
↓ 2 callers
Function
ktxHashList_Deserialize
* @memberof ktxHashList @public * @~English * @brief Construct a hash list from a block of serialized key-value * data read from a file. *
source/external/ktx/lib/hashlist.c:311
↓ 2 callers
Function
ktxHashList_Destruct
* @memberof ktxHashList @public * @~English * @brief Destruct a hash list. * * All memory associated with the hash list's keys and values * is fr
source/external/ktx/lib/hashlist.c:88
↓ 2 callers
Function
ktxHashList_Serialize
* @memberof ktxHashList @public * @~English * @brief Serialize a hash list to a block of data suitable for writing * to a file. * * The ca
source/external/ktx/lib/hashlist.c:245
↓ 2 callers
Function
ktxMemStream_construct_ro
* @internal * @~English * @brief Initialize a read-only ktxMemStream. * * @param [in] str pointer to a ktxStream struct to initialize. * @pa
source/external/ktx/lib/memstream.c:543
↓ 2 callers
Function
ktxMemStream_setup
* @internal * @~English * @brief Setup ktxMemStream function pointers. */
source/external/ktx/lib/memstream.c:476
↓ 2 callers
Function
ktxMem_expand
* @internal * @~English * @brief Expand a ktxMem to fit to a new size. * * @param [in] pMem pointer to ktxMem struct to expand. * @param
source/external/ktx/lib/memstream.c:206
↓ 2 callers
Function
ktxTexture_GetRowPitch
* @memberof ktxTexture * @~English * @brief Return pitch betweeb rows of a texture image level in bytes. * * For uncompressed textures the pitch i
source/external/ktx/lib/texture.c:1541
↓ 2 callers
Function
ktxTexture_IterateLevelFaces
* @memberof ktxTexture * @~English * @brief Iterate over the images in a ktxTexture object. * * Blocks of image data are passed to an application-
source/external/ktx/lib/texture.c:1039
↓ 2 callers
Function
ktxTexture_IterateLoadLevelFaces
* @memberof ktxTexture * @~English * @brief Iterate over the images in a ktxTexture object while loading the * image data. * * This operat
source/external/ktx/lib/texture.c:1128
↓ 2 callers
Function
ktxTexture_LoadImageData
* @memberof ktxTexture * @~English * @brief Load all the image data from the ktxTexture's source. * * The data is loaded into the provided buffer
source/external/ktx/lib/texture.c:929
↓ 2 callers
Function
ktxTexture_dataSize
* @memberof ktxTexture @private * @~English * @brief Calculate the size of the image data for the specified number * of levels. * * The da
source/external/ktx/lib/texture.c:1429
↓ 2 callers
Function
ktxTexture_faceLodSize
* @memberof ktxTexture @private * @~English * @brief Calculate the faceLodSize of the specified mip level. * * The faceLodSize of a level for most
source/external/ktx/lib/texture.c:1402
↓ 2 callers
Function
ktxTexture_isActiveStream
* @memberof ktxTexture @private * @~English * @brief Query if a ktxTexture has an active stream. * * Tests if a ktxTexture has unread image data.
source/external/ktx/lib/texture.c:1570
↓ 2 callers
Function
ktxTexture_layerSize
* @memberof ktxTexture @private * @~English * @brief Calculate the size of an array layer at the specified mip level. * * The size of a layer is t
source/external/ktx/lib/texture.c:1339
↓ 2 callers
Function
ktxTexture_setImageFromStream
* @internal * @memberof ktxTexture @private * @~English * @brief Set image for level, layer, faceSlice from a ktxStream source. * * @param[in] Th
source/external/ktx/lib/writer.c:73
↓ 2 callers
Function
ktxTexture_writeToStream
* @internal * @memberof ktxTexture @private * @~English * @brief Write a ktxTexture object to a ktxStream in KTX format. * * @param[in] This
source/external/ktx/lib/writer.c:261
↓ 2 callers
Function
parseTagTriple
source/external/tinyobj/tiny_obj_loader.h:1173
↓ 2 callers
Function
parseVertexWithColor
Extension: parse vertex with colors(6 items) Return 3: xyz, 4: xyzw, 6: xyzrgb `r`: red(case 6) or [w](case 4)
source/external/tinyobj/tiny_obj_loader.h:1096
↓ 2 callers
Function
readBigEndian4byteWord
source/external/ktx/lib/etcunpack.cxx:58
↓ 2 callers
Function
removeUtf8Bom
source/external/tinyobj/tiny_obj_loader.h:813
↓ 2 callers
Function
tryParseDouble
Tries to parse a floating point number located at s. s_end should be a location in the string where reading should absolutely stop. For example at th
source/external/tinyobj/tiny_obj_loader.h:908
↓ 2 callers
Function
vkGetFormatFromOpenGLFormat
source/external/ktx/lib/vk_format.h:90
↓ 2 callers
Function
vkGetFormatFromOpenGLInternalFormat
source/external/ktx/lib/vk_format.h:575
↓ 1 callers
Method
IsEmpty
source/external/tinyobj/tiny_obj_loader.h:758
↓ 1 callers
Function
JoinPath
source/external/tinyobj/tiny_obj_loader.h:2065
↓ 1 callers
Function
Normalize
source/external/tinyobj/tiny_obj_loader.h:1482
↓ 1 callers
Function
WorldToLocal
source/external/tinyobj/tiny_obj_loader.h:1487
↓ 1 callers
Function
_ktxCheckHeader
* @internal * @~English * @brief Check a KTX file header. * * As well as checking that the header identifies a KTX file, the function * sanity ch
source/external/ktx/lib/checkheader.c:58
↓ 1 callers
Function
clamp
takes as input a value, returns the value clamped to the interval [0,255]. NO WARRANTY --- SEE STATEMENT IN TOP OF FILE (C) Ericsson AB 2013. All Righ
source/external/ktx/lib/etcdec.cxx:1641
↓ 1 callers
Function
glGetFormatFromInternalFormat
source/external/ktx/lib/gl_format.h:1081
↓ 1 callers
Function
glGetTypeFromInternalFormat
source/external/ktx/lib/gl_format.h:1337
↓ 1 callers
Function
glGetTypeSizeFromType
source/external/ktx/lib/gl_format.h:1593
↓ 1 callers
Function
ktxFileStream_destruct
* @internal * @~English * @brief Destruct the stream, potentially closing the underlying FILE. * * This only closes the underyling FILE if the @c
source/external/ktx/lib/filestream.c:316
↓ 1 callers
Function
ktxHashList_AddKVPair
* @memberof ktxHashList @public * @~English * @brief Add a key value pair to a hash list. * * @param [in] pHead pointer to the head of the targ
source/external/ktx/lib/hashlist.c:157
↓ 1 callers
Function
ktxMemStream_construct
* @internal * @~English * @brief Initialize a read-write ktxMemStream. * * Memory is allocated as data is written. The caller of this is * respon
source/external/ktx/lib/memstream.c:507
↓ 1 callers
Function
ktxMemStream_getdata
* @internal * @~English * @brief Get a pointer to a ktxMemStream's data. * * Gets a pointer to data that has been written to the stream. Returned
source/external/ktx/lib/memstream.c:436
↓ 1 callers
Function
ktxMem_construct
* @internal * @brief Initialize a ktxMem struct for read-write. * * Memory for the stream data is allocated internally but the * caller is respons
source/external/ktx/lib/memstream.c:72
↓ 1 callers
Function
ktxMem_construct_ro
* @internal * @brief Initialize a ktxMem struct for read-only. * * @param [in] pMem pointer to the @c ktxMem to initialize. * @param [in] byte
source/external/ktx/lib/memstream.c:119
↓ 1 callers
Function
ktxMem_create
* @internal * @brief Create & initialize a ktxMem struct for read-write. * * @sa ktxMem_construct. * * @param [in,out] ppMem pointer to the locat
source/external/ktx/lib/memstream.c:96
↓ 1 callers
Function
ktxMem_create_ro
* @internal * @brief Create & initialize a ktxMem struct for read-only. * * @sa ktxMem_construct. * * @param [in,out] ppMem pointer to the loc
source/external/ktx/lib/memstream.c:144
↓ 1 callers
Function
ktxMem_destroy
* @internal * @brief Free the memory of a struct ktxMem. * * @param pMem pointer to ktxMem to free. */
source/external/ktx/lib/memstream.c:169
↓ 1 callers
Function
ktxTextureInt_construct
* @memberof ktxTexture @private * @brief Construct (initialize) a ktxTexture. * * @param[in] This pointer to a ktxTextureInt-sized block of memory
source/external/ktx/lib/texture.c:109
↓ 1 callers
Function
ktxTextureInt_constructFromMemory
* @memberof ktxTexture @private * @brief Construct a ktxTexture from KTX-formatted data in memory. * * See ktxTextureInt_constructFromStream for de
source/external/ktx/lib/texture.c:511
next →
1–100 of 203, ranked by callers