|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
Classes | |
| struct | ExrChannelInfo |
| Represents channel information from an EXR file header. More... | |
| struct | ExrHeader |
| Wrapper for EXR file header information with owned data. More... | |
| class | ExrLoader |
| Loader for EXR (OpenEXR) image files. More... | |
| struct | Ktx2TextureData |
| Stores all data loaded from a KTX2 file including mip chain. More... | |
| class | TextureHandleRegistry |
| Central registry for texture handles, providing O(1) descriptor index lookup. More... | |
| struct | TextureIdentityKey |
| Path and semantic type pair that uniquely identifies a texture handle. More... | |
| struct | TextureIdentityKeyHash |
| Hash functor for TextureIdentityKey. More... | |
Functions | |
| Ktx2TextureData | extractMipRange (const Ktx2TextureData &source, uint32_t firstMip, uint32_t mipCount) |
| Copies a contiguous mip range into a new KTX data object. | |
| std::string | normalizeTexturePath (const std::filesystem::path &path) |
| Converts a texture path to the registry key path form. | |
| TextureIdentityKey | makeTextureIdentityKey (const std::filesystem::path &path, TextureType type) |
| Creates a texture identity key from a path and semantic type. | |
| Ktx2TextureData Engine::Assets::Textures::extractMipRange | ( | const Ktx2TextureData & | source, |
| uint32_t | firstMip, | ||
| uint32_t | mipCount ) |
Copies a contiguous mip range into a new KTX data object.
| source | Source KTX texture data. |
| firstMip | First source mip level to copy. |
| mipCount | Number of mip levels to copy. |
|
inline |
Creates a texture identity key from a path and semantic type.
| path | Texture path. |
| type | Semantic texture type. |
Definition at line 74 of file TextureIdentity.h.
References normalizeTexturePath().
|
inline |
Converts a texture path to the registry key path form.
| path | Path to normalize. |
Definition at line 17 of file TextureIdentity.h.
Referenced by makeTextureIdentityKey().