|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
Namespaces | |
| namespace | Loaders |
| namespace | Materials |
| namespace | Textures |
Classes | |
| class | Animation |
| Animation clip loaded from glTF animation data. More... | |
| class | Audio |
| Holds decoded PCM audio data as an engine asset. More... | |
| class | AudioAssetManager |
| Manages audio assets by filesystem path, providing dedup and lookup. More... | |
| struct | AudioData |
| Decoded audio data ready for playback. More... | |
| class | CubemapTexture |
| struct | CubemapTextureData |
| class | CubemapTextureLoader |
| class | ExrTextureAsset |
| Extension of TextureAsset and stores the Exr header information as well as the texture data. More... | |
| class | GltfTextureAsset |
| Extension of TextureAsset for images loaded from glTF files (PNG/JPG) More... | |
| struct | Joint |
| A single joint in a skeleton hierarchy. More... | |
| class | Material |
| the material asset is another wrapper for asset data which is stored in entt. It has the EngineCore::MaterialAsset::type member variable which corresponds to the component used to store the material data More... | |
| class | MaterialAssetManager |
| class | Mesh |
| The mesh asset stores geometry data and. More... | |
| class | MeshAssetManager |
| Stores mesh data with their primitives. More... | |
| class | RuntimeTexture |
| class | Skin |
| Skeleton definition loaded from glTF skin data. More... | |
| class | Texture |
| Wrapper for texture data. More... | |
| class | TextureAssetManager |
| class | TextureHandle |
| Type-erased texture handle for runtime storage. More... | |
| class | TypedTextureHandle |
| Type-safe texture handle wrapper providing compile-time type safety. More... | |
Typedefs | |
| using | AudioAssetRef = Asset::Ref<std::filesystem::path, Audio> |
| using | MaterialAssetRef = Asset::Ref<Asset::Path, Material> |
| using | MeshAssetRef = Asset::Ref<Asset::Path, Mesh> |
| using | TextureAssetRef = Asset::Ref<std::filesystem::path, Texture> |
| using | AlbedoTextureHandle = TypedTextureHandle<TextureType::BaseColor> |
| using | NormalTextureHandle = TypedTextureHandle<TextureType::Normal> |
| using | MetallicRoughnessTextureHandle = TypedTextureHandle<TextureType::MetallicRoughness> |
| using | EmissiveTextureHandle = TypedTextureHandle<TextureType::Emissive> |
| using | LightmapTextureHandle = TypedTextureHandle<TextureType::Lightmap> |
Enumerations | |
| enum class | TextureType : uint8_t { BaseColor , Normal , MetallicRoughness , Emissive , Lightmap , Unknown } |
| Represents the semantic type of a texture, determining its Vulkan format. More... | |
Functions | |
| constexpr VkFormat | getVkFormat (TextureType type, int bits, int components) |
| Get the correct VkFormat based on texture type and image properties. | |
| constexpr bool | requiresLinearFormat (TextureType type) |
| Check if a texture type requires linear (non-SRGB) format. | |
Definition at line 121 of file TextureHandle.h.
| using Engine::Assets::AudioAssetRef = Asset::Ref<std::filesystem::path, Audio> |
Definition at line 11 of file AudioAssetRef.h.
Definition at line 124 of file TextureHandle.h.
Definition at line 125 of file TextureHandle.h.
Definition at line 10 of file MaterialAssetRef.h.
Definition at line 10 of file MeshAssetRef.h.
| using Engine::Assets::MetallicRoughnessTextureHandle = TypedTextureHandle<TextureType::MetallicRoughness> |
Definition at line 123 of file TextureHandle.h.
Definition at line 122 of file TextureHandle.h.
| using Engine::Assets::TextureAssetRef = Asset::Ref<std::filesystem::path, Texture> |
Definition at line 11 of file TextureAssetRef.h.
|
strong |
Represents the semantic type of a texture, determining its Vulkan format.
Different texture types require different VkFormats for correct rendering:
Definition at line 15 of file TextureType.h.
|
constexpr |
Get the correct VkFormat based on texture type and image properties.
This function centralizes format selection logic, ensuring that:
| type | The semantic type of the texture |
| bits | Bits per component (8, 16, or 32) |
| components | Number of color components (1-4) |
Definition at line 37 of file TextureType.h.
References BaseColor, Emissive, Lightmap, MetallicRoughness, Normal, and Unknown.
|
constexpr |
Check if a texture type requires linear (non-SRGB) format.
| type | The texture type to check |
Definition at line 129 of file TextureType.h.
References BaseColor, Emissive, Lightmap, MetallicRoughness, Normal, and Unknown.