// PackingRules = Exact
struct EnvLightData
{
float3 capturePositionWS;
float capturePositionWSX;
float capturePositionWSY;
float capturePositionWSZ;
float3 influencePositionWS;
int envIndex;
float3 influenceForward;
float proxyExtentsX;
float proxyExtentsY;
float proxyExtentsZ;
float minProjectionDistance;
float proxyPositionWSX;
float proxyPositionWSY;
float proxyPositionWSZ;
float3 influenceUp;
float3 influenceRight;
float3 influenceExtents;
float dimmer;
float3 blendDistancePositive;
float3 blendDistanceNegative;
float3 blendNormalDistancePositive;
float3 blendNormalDistanceNegative;
float3 boxSideFadePositive;
float3 boxSideFadeNegative;
float3 sampleDirectionDiscardWS;
float minProjectionDistance;
float3 proxyPositionWS;
int proxyShapeType;
float3 proxyExtents;
int unused14;
float influencePositionWSX;
float influencePositionWSY;
float influencePositionWSZ;
float influenceForwardX;
float influenceForwardY;
float influenceForwardZ;
float influenceUpX;
float influenceUpY;
float influenceUpZ;
float influenceRightX;
float influenceRightY;
float influenceRightZ;
float influenceExtentsX;
float influenceExtentsY;
float influenceExtentsZ;
float unused00;
float blendDistancePositiveX;
float blendDistancePositiveY;
float blendDistancePositiveZ;
float blendDistanceNegativeX;
float blendDistanceNegativeY;
float blendDistanceNegativeZ;
float blendNormalDistancePositiveX;
float blendNormalDistancePositiveY;
float blendNormalDistancePositiveZ;
float blendNormalDistanceNegativeX;
float blendNormalDistanceNegativeY;
float blendNormalDistanceNegativeZ;
float boxSideFadePositiveX;
float boxSideFadePositiveY;
float boxSideFadePositiveZ;
float boxSideFadeNegativeX;
float boxSideFadeNegativeY;
float boxSideFadeNegativeZ;
float dimmer;
float unused01;
float sampleDirectionDiscardWSX;
float sampleDirectionDiscardWSY;
float sampleDirectionDiscardWSZ;
int envIndex;
};
//
//
// Accessors for UnityEngine.Experimental.Rendering.HDPipeline.EnvLightData
//
float3 GetCapturePositionWS(EnvLightData value)
float GetCapturePositionWSX(EnvLightData value)
{
return value.capturePositionWSX;
}
float GetCapturePositionWSY(EnvLightData value)
{
return value.capturePositionWSY;
}
float GetCapturePositionWSZ(EnvLightData value)
return value.capturePositionWS;
return value.capturePositionWSZ;
float3 GetInfluencePositionWS(EnvLightData value)
float GetProxyExtentsX(EnvLightData value)
return value.influencePositionWS;
return value.proxyExtentsX;
int GetEnvIndex(EnvLightData value)
float GetProxyExtentsY(EnvLightData value)
return value.envIndex;
return value.proxyExtentsY;
float3 GetInfluenceForward(EnvLightData value)
float GetProxyExtentsZ(EnvLightData value)
return value.influenceForward;
return value.proxyExtentsZ;
float GetProxyForwardX(EnvLightData value)
float GetMinProjectionDistance(EnvLightData value)
return value.proxyForwardX;
return value.minProjectionDistance;
}
float GetProxyPositionWSX(EnvLightData value)
{
return value.proxyPositionWSX;
}
float GetProxyPositionWSY(EnvLightData value)
{
return value.proxyPositionWSY;
}
float GetProxyPositionWSZ(EnvLightData value)
{
return value.proxyPositionWSZ;
float3 GetInfluenceUp(EnvLightData value)
float GetProxyForwardX(EnvLightData value)
return value.influenceUp;
return value.proxyForwardX;
float3 GetInfluenceRight(EnvLightData value)
{
return value.influenceRight;
}
float3 GetInfluenceExtents(EnvLightData value)
float GetProxyUpX(EnvLightData value)
return value.influenceExtents;
return value.proxyUpX;
float GetDimmer(EnvLightData value)
float GetProxyUpY(EnvLightData value)
return value.dimmer;
return value.proxyUpY;
float3 GetBlendDistancePositive(EnvLightData value)
float GetProxyUpZ(EnvLightData value)
return value.blendDistancePositive;
return value.proxyUpZ;
float GetProxyUpX(EnvLightData value)
float GetProxyRightX(EnvLightData value)
return value.proxyUpX;
return value.proxyRightX;
float3 GetBlendDistanceNegative(EnvLightData value)
float GetProxyRightY(EnvLightData value)
return value.blendDistanceNegative;
return value.proxyRightY;
float GetProxyUpY(EnvLightData value)
float GetProxyRightZ(EnvLightData value)
return value.proxyUpY;
return value.proxyRightZ;
float3 GetBlendNormalDistancePositive(EnvLightData value)
float GetInfluencePositionWSX(EnvLightData value)
return value.blendNormalDistancePositive;
return value.influencePositionWSX;
float GetProxyUpZ(EnvLightData value)
float GetInfluencePositionWSY(EnvLightData value)
return value.proxyUpZ;
return value.influencePositionWSY;
float3 GetBlendNormalDistanceNegative(EnvLightData value)
float GetInfluencePositionWSZ(EnvLightData value)
return value.blendNormalDistanceNegative;
return value.influencePositionWSZ;
}
float GetInfluenceForwardX(EnvLightData value)
{
return value.influenceForwardX;
}
float GetInfluenceForwardY(EnvLightData value)
{
return value.influenceForwardY;
}
float GetInfluenceForwardZ(EnvLightData value)
{
return value.influenceForwardZ;
}
float GetInfluenceUpX(EnvLightData value)
{
return value.influenceUpX;
}
float GetInfluenceUpY(EnvLightData value)
{
return value.influenceUpY;
}
float GetInfluenceUpZ(EnvLightData value)
{
return value.influenceUpZ;
}
float GetInfluenceRightX(EnvLightData value)
{
return value.influenceRightX;
}
float GetInfluenceRightY(EnvLightData value)
{
return value.influenceRightY;
}
float GetInfluenceRightZ(EnvLightData value)
{
return value.influenceRightZ;
}
float GetInfluenceExtentsX(EnvLightData value)
{
return value.influenceExtentsX;
}
float GetInfluenceExtentsY(EnvLightData value)
{
return value.influenceExtentsY;
}
float GetInfluenceExtentsZ(EnvLightData value)
{
return value.influenceExtentsZ;
}
float GetUnused00(EnvLightData value)
{
return value.unused00;
}
float GetBlendDistancePositiveX(EnvLightData value)
{
return value.blendDistancePositiveX;
}
float GetBlendDistancePositiveY(EnvLightData value)
{
return value.blendDistancePositiveY;
}
float GetBlendDistancePositiveZ(EnvLightData value)
{
return value.blendDistancePositiveZ;
}
float GetBlendDistanceNegativeX(EnvLightData value)
{
return value.blendDistanceNegativeX;
}
float GetBlendDistanceNegativeY(EnvLightData value)
{
return value.blendDistanceNegativeY;
}
float GetBlendDistanceNegativeZ(EnvLightData value)
{
return value.blendDistanceNegativeZ;
}
float GetBlendNormalDistancePositiveX(EnvLightData value)
{
return value.blendNormalDistancePositiveX;
}
float GetBlendNormalDistancePositiveY(EnvLightData value)
{
return value.blendNormalDistancePositiveY;
float GetProxyRightX(EnvLightData value)
float GetBlendNormalDistancePositiveZ(EnvLightData value)
return value.proxyRightX;
return value.blendNormalDistancePositiveZ;
float3 GetBoxSideFadePositive(EnvLightData value)
float GetBlendNormalDistanceNegativeX(EnvLightData value)
return value.boxSideFadePositive;
return value.blendNormalDistanceNegativeX;
}
float GetBlendNormalDistanceNegativeY(EnvLightData value)
{
return value.blendNormalDistanceNegativeY;
}
float GetBlendNormalDistanceNegativeZ(EnvLightData value)
{
return value.blendNormalDistanceNegativeZ;
}
float GetBoxSideFadePositiveX(EnvLightData value)
{
return value.boxSideFadePositiveX;
}
float GetBoxSideFadePositiveY(EnvLightData value)
{
return value.boxSideFadePositiveY;
}
float GetBoxSideFadePositiveZ(EnvLightData value)
{
return value.boxSideFadePositiveZ;
float GetProxyRightY(EnvLightData value)
float GetBoxSideFadeNegativeX(EnvLightData value)
return value.proxyRightY;
return value.boxSideFadeNegativeX;
float3 GetBoxSideFadeNegative(EnvLightData value)
float GetBoxSideFadeNegativeY(EnvLightData value)
return value.boxSideFadeNegative;
return value.boxSideFadeNegativeY;
float GetProxyRightZ(EnvLightData value)
float GetBoxSideFadeNegativeZ(EnvLightData value)
return value.proxyRightZ;
return value.boxSideFadeNegativeZ;
float3 GetSampleDirectionDiscardWS(EnvLightData value)
float GetDimmer(EnvLightData value)
return value.sampleDirectionDiscardWS;
return value.dimmer;
float GetMinProjectionDistance(EnvLightData value)
float GetUnused01(EnvLightData value)
return value.minProjectionDistance;
return value.unused01;
float3 GetProxyPositionWS(EnvLightData value)
float GetSampleDirectionDiscardWSX(EnvLightData value)
return value.proxyPositionWS;
return value.sampleDirectionDiscardWSX;
int GetProxyShapeType(EnvLightData value)
float GetSampleDirectionDiscardWSY(EnvLightData value)
return value.proxyShapeType;
return value.sampleDirectionDiscardWSY;
float3 GetProxyExtents(EnvLightData value)
float GetSampleDirectionDiscardWSZ(EnvLightData value)
return value.proxyExtents;
return value.sampleDirectionDiscardWSZ;
int GetUnused14(EnvLightData value)
int GetEnvIndex(EnvLightData value)
return value.unused14;
return value.envIndex;
}