|
|
|
|
|
|
|
|
|
|
#ifndef VOLUMETRICLIGHTING_CS_HLSL |
|
|
|
#define VOLUMETRICLIGHTING_CS_HLSL |
|
|
|
// Generated from UnityEngine.Experimental.Rendering.HDPipeline.DensityVolumeProperties |
|
|
|
// Generated from UnityEngine.Experimental.Rendering.HDPipeline.DensityVolumeData |
|
|
|
struct DensityVolumeProperties |
|
|
|
struct DensityVolumeData |
|
|
|
{ |
|
|
|
float3 scattering; |
|
|
|
float extinction; |
|
|
|
|
|
|
// Accessors for UnityEngine.Experimental.Rendering.HDPipeline.DensityVolumeProperties |
|
|
|
// Accessors for UnityEngine.Experimental.Rendering.HDPipeline.DensityVolumeData |
|
|
|
float3 GetScattering(DensityVolumeProperties value) |
|
|
|
float3 GetScattering(DensityVolumeData value) |
|
|
|
float GetExtinction(DensityVolumeProperties value) |
|
|
|
float GetExtinction(DensityVolumeData value) |
|
|
|
{ |
|
|
|
return value.extinction; |
|
|
|
} |
|
|
|