#ifndef TILEPASS_CS_HLSL
#define TILEPASS_CS_HLSL
//
// UnityEngine.Experimental.ScriptableRenderLoop.TilePass.LightVolumeType: static fields
//
#define LIGHTVOLUMETYPE_CONE (0)
#define LIGHTVOLUMETYPE_SPHERE (1)
#define LIGHTVOLUMETYPE_BOX (2)
#define LIGHTVOLUMETYPE_COUNT (3)
//
// UnityEngine.Experimental.ScriptableRenderLoop.TilePass.LightCategory: static fields
//
#define LIGHTCATEGORY_PUNCTUAL (0)
#define LIGHTCATEGORY_AREA (1)
#define LIGHTCATEGORY_ENV (2)
#define LIGHTCATEGORY_COUNT (3)
//
// UnityEngine.Experimental.ScriptableRenderLoop.TilePass.LightDefinitions: static fields
//
#define MAX_NR_LIGHTS_PER_CAMERA (1024)
#define HAS_COOKIE_TEXTURE (2)
#define IS_BOX_PROJECTED (4)
#define HAS_SHADOW (8)
#define MAX_VOLUME_TYPES (3)
#define SPOT_VOLUME (0)
#define SPHERE_VOLUME (1)
#define BOX_VOLUME (2)
#define DIRECTIONAL_VOLUME (3)
#define NR_LIGHT_CATEGORIES (3)
#define PUNCTUAL_LIGHT_CATEGORY (0)
#define REFLECTION_LIGHT_CATEGORY (1)
#define AREA_LIGHT_CATEGORY (2)
// Generated from UnityEngine.Experimental.ScriptableRenderLoop.TilePass.SFiniteLightBound
// PackingRules = Exact
float radius;
};
// Generated from UnityEngine.Experimental.ScriptableRenderLoop.TilePass.LightShap eData
// Generated from UnityEngine.Experimental.ScriptableRenderLoop.TilePass.LightVolum eData
struct LightShap eData
struct LightVolum eData
uint lightIndex ;
uint lightVolume ;
uint lightVolume ;
uint lightCategory ;
uint lightCategory ;
float unused ;
float3 boxInvRange;
float unused2;
};
}
//
// Accessors for UnityEngine.Experimental.ScriptableRenderLoop.TilePass.LightShap eData
// Accessors for UnityEngine.Experimental.ScriptableRenderLoop.TilePass.LightVolum eData
float3 GetLightPos(LightShap eData value)
float3 GetLightPos(LightVolum eData value)
uint GetLightIndex(LightShap eData value)
uint GetLightVolume(LightVolum eData value)
return value.lightIndex ;
return value.lightVolume ;
float3 GetLightAxisX(LightShap eData value)
float3 GetLightAxisX(LightVolum eData value)
uint GetLightVolume(LightShap eData value)
uint GetLightCategory(LightVolum eData value)
return value.lightVolume ;
return value.lightCategory ;
float3 GetLightAxisY(LightShap eData value)
float3 GetLightAxisY(LightVolum eData value)
float GetRadiusSq(LightShap eData value)
float GetRadiusSq(LightVolum eData value)
float3 GetLightAxisZ(LightShap eData value)
float3 GetLightAxisZ(LightVolum eData value)
float GetCotan(LightShap eData value)
float GetCotan(LightVolum eData value)
float3 GetBoxInnerDist(LightShap eData value)
float3 GetBoxInnerDist(LightVolum eData value)
uint GetLightCategory(LightShap eData value)
float GetUnused(LightVolum eData value)
return value.lightCategory ;
return value.unused ;
float3 GetBoxInvRange(LightShap eData value)
float3 GetBoxInvRange(LightVolum eData value)
float GetUnused2(LightShap eData value)
float GetUnused2(LightVolum eData value)
{
return value.unused2;
}