nCine/Graphics/RHI/GX/GxShaderTypes.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::GX
namespace nCine::RHI::GX::UniformTypeInfo

Classes

class nCine::RHI::GX::GxUniform
Reflected metadata of a single active uniform (aliased as RHI::Uniform).
class nCine::RHI::GX::GxUniformBlock
Reflected metadata of a single active uniform block (aliased as RHI::UniformBlock).
class nCine::RHI::GX::GxAttribute
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.