Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
TextureType.h File Reference
#include <vulkan/vulkan_core.h>
#include <cstdint>
Include dependency graph for TextureType.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  EngineCore
 Log category system implementation.

Enumerations

enum class  EngineCore::TextureType : uint8_t {
  EngineCore::BaseColor ,
  EngineCore::Normal ,
  EngineCore::MetallicRoughness ,
  EngineCore::Emissive ,
  EngineCore::Lightmap ,
  EngineCore::Unknown
}
 Represents the semantic type of a texture, determining its Vulkan format. More...

Functions

constexpr VkFormat EngineCore::getVkFormat (TextureType type, int bits, int components)
 Get the correct VkFormat based on texture type and image properties.
constexpr bool EngineCore::requiresLinearFormat (TextureType type)
 Check if a texture type requires linear (non-SRGB) format.