#ifndef RAY_TRACE_H
#define RAY_TRACE_H

#ifdef SOFTWARE_RAY_TRACING
typedef Buffer<uint8_t> funnyAccelerationStructure 
#else
typedef RaytracingAccelerationStructure funnyAccelerationStructure 
#endif

struct funnyHitObject
{
	static funnyHitObject TraceRay<T>(
		funnyAccelerationStructure AccelerationStructure,
		uint RayFlags,
		uint InstanceInclusionMask,
		uint RayContributionToHitGroupIndex,
		uint MultiplierForGeometryContributionToHitGroupIndex,
		uint MissShaderIndex,
		RayDesc Ray,
		inout T Payload
	);
};

#endif
