Kanzi 4.0.0-beta2
reflection.hpp File Reference

Classes

struct  kanzi::gfx::reflection::BindingBlock
 Describes a binding block which corresponds to a resource set. More...
 
struct  kanzi::gfx::reflection::Buffer
 Buffer reflection information. More...
 
struct  kanzi::gfx::reflection::Image
 Image reflection information. More...
 
struct  kanzi::gfx::reflection::InterfaceBlock
 Describes an interface block that can be a uniform buffer object or push constant object. More...
 
struct  kanzi::gfx::reflection::Member
 Describes a uniform member. More...
 
struct  kanzi::gfx::reflection::ReflectionInfo
 Top-level structure that contains the reflection information for a shader stage or program. More...
 
struct  kanzi::gfx::reflection::Sampler
 Sampler reflection information. More...
 
struct  kanzi::gfx::reflection::TypeInfo
 Contains a description of a shader value. More...
 
class  kanzi::gfx::reflection::UniformBlockBuilder
 A helper class to build uniform blocks based on reflection information. More...
 

Namespaces

namespace  kanzi
 
namespace  kanzi::gfx
 
namespace  kanzi::gfx::reflection
 

Enumerations

enum class  kanzi::gfx::reflection::AccessStage : uint8_t { kanzi::gfx::reflection::AccessStage::VertexStage , kanzi::gfx::reflection::AccessStage::FragmentStage , kanzi::gfx::reflection::AccessStage::ComputeStage , kanzi::gfx::reflection::AccessStage::All }
 Specifies the stages that use the resource. More...
 
enum class  kanzi::gfx::reflection::PrimitiveType : uint8_t {
  kanzi::gfx::reflection::PrimitiveType::Invalid , kanzi::gfx::reflection::PrimitiveType::Boolean , kanzi::gfx::reflection::PrimitiveType::Integer , kanzi::gfx::reflection::PrimitiveType::UnsignedInteger ,
  kanzi::gfx::reflection::PrimitiveType::FloatingPoint
}
 Specifies the primitive types. More...
 

Functions

 kanzi::KZ_ENABLE_BITMASK_OPERATORS (gfx::reflection::AccessStage)
 
ReflectionInfo kanzi::gfx::reflection::mergeReflectionInfos (span< ReflectionInfo > infos)
 Merges reflection information into a unified structure.
 
constexpr bool kanzi::gfx::reflection::operator!= (const TypeInfo &lhs, const TypeInfo &rhs)
 Not equality operator for the TypeInfo.
 
constexpr bool kanzi::gfx::reflection::operator== (const TypeInfo &lhs, const TypeInfo &rhs)
 Equality operator for the TypeInfo.
 
gfx::Format kanzi::gfx::reflection::to_format (const TypeInfo &info)
 Converts a TypeInfo structure into a graphics format.