您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
28 行
575 B
28 行
575 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.DensityVolumeData
|
|
// PackingRules = Exact
|
|
struct DensityVolumeData
|
|
{
|
|
float3 scattering;
|
|
float extinction;
|
|
};
|
|
|
|
//
|
|
// Accessors for UnityEngine.Experimental.Rendering.HDPipeline.DensityVolumeData
|
|
//
|
|
float3 GetScattering(DensityVolumeData value)
|
|
{
|
|
return value.scattering;
|
|
}
|
|
float GetExtinction(DensityVolumeData value)
|
|
{
|
|
return value.extinction;
|
|
}
|
|
|
|
|
|
#endif
|