Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::RayTracingTriangleHitShaderGroup Struct Reference

Ray tracing triangle hit shader group description. More...

#include <PipelineState.h>

Public Attributes

const Char * Name = nullptr
 Unique group name.
 
IShaderpClosestHitShader = nullptr
 Closest hit shader.
 
IShaderpAnyHitShader = nullptr
 Any-hit shader. Can be null.
 

Detailed Description

Ray tracing triangle hit shader group description.

Member Data Documentation

◆ pAnyHitShader

IShader* Diligent::RayTracingTriangleHitShaderGroup::pAnyHitShader = nullptr

Any-hit shader. Can be null.

The shader type must be Diligent::SHADER_TYPE_RAY_ANY_HIT.

◆ pClosestHitShader

IShader* Diligent::RayTracingTriangleHitShaderGroup::pClosestHitShader = nullptr

Closest hit shader.

The shader type must be Diligent::SHADER_TYPE_RAY_CLOSEST_HIT.