1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
// Copyright 2009 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include "common/FeatureFlags.ih"
#include "rkcommon/math/vec.ih"
OSPRAY_BEGIN_ISPC_NAMESPACE
struct PathContext;
struct PathState;
struct PathVertex;
struct Ray;
struct Light;
struct Light_SampleRes;
struct DifferentialGeometry;
SYCL_EXTERNAL vec3f evaluateGeometryLights(const PathContext &pathContext,
const PathState &pathState,
const PathVertex &lastVertex,
const PathVertex &pathVertex,
const Ray &ray,
const uniform FeatureFlagsHandler &ffh);
SYCL_EXTERNAL Light_SampleRes GeometryLight_sample(const Light *uniform super,
const DifferentialGeometry &dg,
const vec2f &s,
const float time,
const uniform FeatureFlagsHandler &ffh);
OSPRAY_END_ISPC_NAMESPACE
|