FSpirvReflectBindings

Container structure for all SPIR-V reflection resources and in/out attributes.

Unreal Engine C++ API Reference > Developer > ShaderCompilerCommon

References

   
Module ShaderCompilerCommon
Header /Engine/Source/Developer/ShaderCompilerCommon/Public/SpirvReflectCommon.h
Include #include "SpirvReflectCommon.h"

Syntax

struct FSpirvReflectBindings  

Remarks

Container structure for all SPIR-V reflection resources and in/out attributes.

Variables

Type Name Description
TArray< SpvRefl... AccelerationStructures  
TSet< SpvReflec... AtomicCounters  
TArray< SpvRefl... InputAttachments  
TArray< SpvRefl... InputAttributes  
TArray< SpvRefl... OutputAttributes  
TArray< SpvRefl... Samplers  
TArray< SpvRefl... SBufferSRVs  
TArray< SpvRefl... SBufferUAVs  
TArray< SpvRefl... TBufferSRVs  
TArray< SpvRefl... TBufferUAVs  
TArray< SpvRefl... TextureSRVs  
TArray< SpvRefl... TextureUAVs  
TArray< SpvRefl... UniformBuffers  

Functions

Type Name Description
void AddDescriptorBinding ( SpvReflectDescriptorBinding* I... ) Adds the specified descriptor binding to the corresponding container iff the descriptor is marked as being accessed.
void AssignInputAttributeLocationsBySemanticIndex ( spv_reflect::ShaderModule& SpirvRe..., const ANSICHAR* SemanticName ) Assigns the binding location for all input attributes by its semantic index if their name is equal to 'SemanticName'.
void GatherDescriptorBindings ( const spv_reflect::ShaderModule& S... ) Gathers all descriptor bindings from the specified SPIRV-Reflect module.
void GatherInputAttributes ( const spv_reflect::ShaderModule& S... ) Gathers all input interface variables from the specified SPIRV-Reflect module.
void GatherOutputAttributes ( const spv_reflect::ShaderModule& S... ) Gathers all output interface variables from the specified SPIRV-Reflect module.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library