Skip to content

LiteFX::Rendering::IShaderRecord::MeshGeometryHitGroup

Describes a hit group for a triangle mesh geometry.

Synopsis

Declared in <litefx/rendering_api.hpp>

struct MeshGeometryHitGroup;

Description

Note that when using this structure, at least one of the contained shaders must be set. A shader record containing a mesh geometry hit group must only be ever called by triangle mesh bottom-level acceleration structures.

Data Members

NameDescription
AnyHitShader The any hit shader for the triangle mesh.
ClosestHitShader The closest hit shader for the triangle mesh.

See Also

IBottomLevelAccelerationStructure