Kanzi 4.0.0-beta2
kanzi::gfx::reflection Namespace Reference

Classes

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

Enumerations

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

Functions

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