您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
28 行
605 B
28 行
605 B
//
|
|
// This file was automatically generated. Please don't edit by hand.
|
|
//
|
|
|
|
#ifndef VOLUMETRICLIGHTING_CS_HLSL
|
|
#define VOLUMETRICLIGHTING_CS_HLSL
|
|
// Generated from UnityEngine.Experimental.Rendering.HDPipeline.DensityVolumeProperties
|
|
// PackingRules = Exact
|
|
struct DensityVolumeProperties
|
|
{
|
|
float3 scattering;
|
|
float extinction;
|
|
};
|
|
|
|
//
|
|
// Accessors for UnityEngine.Experimental.Rendering.HDPipeline.DensityVolumeProperties
|
|
//
|
|
float3 GetScattering(DensityVolumeProperties value)
|
|
{
|
|
return value.scattering;
|
|
}
|
|
float GetExtinction(DensityVolumeProperties value)
|
|
{
|
|
return value.extinction;
|
|
}
|
|
|
|
|
|
#endif
|