Function TRAP::Graphics::API::VkCreateShaderReflection#

Function Documentation#

ShaderReflection::ShaderReflection TRAP::Graphics::API::VkCreateShaderReflection(std::span<const u32> shaderCode, RendererAPI::ShaderStage shaderStage)#

Create a shader reflection from Vulkan SPIRV source code.

Parameters:
  • shaderCode – SPIRV code.

  • shaderStageShader stage of SPIRV code.

Returns:

Shader reflection.