// Copyright 2009 Intel Corporation
// SPDX-License-Identifier: Apache-2.0

#pragma once

#include "common/FeatureFlags.ih"
#include "common/OSPCommon.ih"
#include "render/materials/Medium.ih"
#include "rkcommon/math/vec.ih"

OSPRAY_BEGIN_ISPC_NAMESPACE

struct PathTracer;
struct World;
struct Ray;
struct RayCone;
struct RayIntervals;

SYCL_EXTERNAL __noinline vec3f transparentShadow(
    const uniform PathTracer *uniform self,
    const World *uniform world,
    vec3f lightContrib,
    Ray &shadowRay,
    RayCone &shadowCone,
    RayIntervals &rayIntervals,
    Medium medium,
    const uniform FeatureFlagsHandler &ffh);

OSPRAY_END_ISPC_NAMESPACE
