VulkanShaderTypes.h file
Namespaces
- namespace nCine
- Root namespace of nCine game engine.
- namespace nCine::RHI
- Render Hardware Interface — compile-time-selectable graphics backend abstraction.
- namespace nCine::RHI::Vulkan
- Vulkan backend, selected by
WITH_RHI_VULKAN. - namespace nCine::RHI::Vulkan::UniformTypeInfo
- Free-function helpers that classify reflected uniform types (component count, float-ness).
Classes
- class nCine::RHI::Vulkan::VulkanUniform
- Reflected metadata of a single active uniform (aliased as
RHI::Uniform). - class nCine::RHI::Vulkan::VulkanUniformBlock
- Reflected metadata of a single active uniform block (aliased as
RHI::UniformBlock). - class nCine::RHI::Vulkan::VulkanAttribute
- Reflected metadata of a single active vertex attribute (aliased as
RHI::Attribute).
Functions
-
auto ComponentCount(ShaderCompiler::UniformType type) -> std::
uint32_t - Number of scalar components of a reflected uniform type (0 for aggregates).
- auto IsFloat(ShaderCompiler::UniformType type) -> bool
- Returns
trueif the basic component type of the uniform is floating point.