[GenerateHLSL(PackingRules.Exact, false, true, 1000)]
public struct SurfaceData
{
[MaterialIdAttributes_WIP(new int[] { ( int ) MaterialId . LitStandard , ( int ) MaterialId . LitSSS , ( int ) MaterialId . LitClearCoat , ( int ) MaterialId . LitSpecular } ) ]
[MaterialIdAttributes_WIP(new int[] { ( int ) MaterialId . LitStandard , ( int ) MaterialId . LitSSS , ( int ) MaterialId . LitClearCoat , ( int ) MaterialId . LitSpecular } ) ]
[MaterialIdAttributes_WIP(new int[] { ( int ) MaterialId . LitStandard , ( int ) MaterialId . LitSSS , ( int ) MaterialId . LitClearCoat , ( int ) MaterialId . LitSpecular } ) ]
[MaterialIdAttributes_WIP(new int[] { ( int ) MaterialId . LitStandard , ( int ) MaterialId . LitSSS , ( int ) MaterialId . LitClearCoat , ( int ) MaterialId . LitSpecular } ) ]
[SurfaceDataAttributes("Smoothness")]
public float perceptualSmoothness ;
[MaterialIdAttributes_WIP(new int[] { ( int ) MaterialId . LitStandard , ( int ) MaterialId . LitSSS , ( int ) MaterialId . LitClearCoat , ( int ) MaterialId . LitSpecular } ) ]
// MaterialId dependent attribute
[MaterialIdAttributes_WIP(new int[] { ( int ) MaterialId . LitStandard } ) ]
[SurfaceDataAttributes("Tangent")]
[SurfaceDataAttributes("Tangent", 0, new int[] { ( int ) MaterialId . LitStandard } ) ]
[MaterialIdAttributes_WIP(new int[] { ( int ) MaterialId . LitStandard } ) ]
[SurfaceDataAttributes("Anisotropy")]
[SurfaceDataAttributes("Anisotropy", 0, new int[] { ( int ) MaterialId . LitStandard } ) ]
[MaterialIdAttributes_WIP(new int[] { ( int ) MaterialId . LitStandard } ) ]
[SurfaceDataAttributes("Metallic")]
[SurfaceDataAttributes("Metallic", 0, new int[] { ( int ) MaterialId . LitStandard } ) ]
[MaterialIdAttributes_WIP(new int[] { ( int ) MaterialId . LitStandard } ) ]
[SurfaceDataAttributes("Specular")]
[SurfaceDataAttributes("Specular", 0, new int[] { ( int ) MaterialId . LitStandard } ) ]
[MaterialIdAttributes_WIP(new int[] { ( int ) MaterialId . LitSSS } ) ]
[SurfaceDataAttributes("SubSurface Radius")]
[SurfaceDataAttributes("SubSurface Radius", 0, new int[] { ( int ) MaterialId . LitSSS } ) ]
[MaterialIdAttributes_WIP(new int[] { ( int ) MaterialId . LitSSS } ) ]
[SurfaceDataAttributes("Thickness")]
[SurfaceDataAttributes("Thickness", 0, new int[] { ( int ) MaterialId . LitSSS } ) ]
[MaterialIdAttributes_WIP(new int[] { ( int ) MaterialId . LitSSS } ) ]
[SurfaceDataAttributes("SubSurface Profile")]
[SurfaceDataAttributes("SubSurface Profile", 0, new int[] { ( int ) MaterialId . LitSSS } ) ]
[MaterialIdAttributes_WIP(new int[] { ( int ) MaterialId . LitClearCoat } ) ]
[SurfaceDataAttributes("Coat Normal")]
[SurfaceDataAttributes("Coat Normal", 0, new int[] { ( int ) MaterialId . LitClearCoat } ) ]
[MaterialIdAttributes_WIP(new int[] { ( int ) MaterialId . LitClearCoat } ) ]
[SurfaceDataAttributes("Coat Smoothness")]
[SurfaceDataAttributes("Coat Smoothness", 0, new int[] { ( int ) MaterialId . LitClearCoat } ) ]
[MaterialIdAttributes_WIP(new int[] { ( int ) MaterialId . LitSpecular } ) ]
[SurfaceDataAttributes("Specular Color")]
[SurfaceDataAttributes("Specular Color", 0, new int[] { ( int ) MaterialId . LitSpecular } ) ]
public Vector3 specularColor ;
} ;