nCine/Graphics/RHI/Software/SwShaderTypes.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::Software
CPU software rasterizer backend, selected by WITH_RHI_SOFTWARE.
namespace nCine::RHI::Software::UniformTypeInfo
Free-function helpers that classify reflected uniform types (component count, float-ness).

Classes

class nCine::RHI::Software::SwUniform
Reflected metadata of a single active uniform (aliased as RHI::Uniform).
class nCine::RHI::Software::SwUniformBlock
Reflected metadata of a single active uniform block (aliased as RHI::UniformBlock).
class nCine::RHI::Software::SwAttribute
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 true if the basic component type of the uniform is floating point.