您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
85 行
2.2 KiB
85 行
2.2 KiB
//
|
|
// This file was automatically generated. Please don't edit by hand.
|
|
//
|
|
|
|
#ifndef DEBUGDISPLAY_CS_HLSL
|
|
#define DEBUGDISPLAY_CS_HLSL
|
|
//
|
|
// UnityEngine.Experimental.Rendering.HDPipeline.FullScreenDebugMode: static fields
|
|
//
|
|
#define FULLSCREENDEBUGMODE_NONE (0)
|
|
#define FULLSCREENDEBUGMODE_MIN_LIGHTING_FULL_SCREEN_DEBUG (1)
|
|
#define FULLSCREENDEBUGMODE_SSAO (2)
|
|
#define FULLSCREENDEBUGMODE_DEFERRED_SHADOWS (3)
|
|
#define FULLSCREENDEBUGMODE_PRE_REFRACTION_COLOR_PYRAMID (4)
|
|
#define FULLSCREENDEBUGMODE_DEPTH_PYRAMID (5)
|
|
#define FULLSCREENDEBUGMODE_FINAL_COLOR_PYRAMID (6)
|
|
#define FULLSCREENDEBUGMODE_SCREEN_SPACE_TRACING_REFRACTION (7)
|
|
#define FULLSCREENDEBUGMODE_MAX_LIGHTING_FULL_SCREEN_DEBUG (8)
|
|
#define FULLSCREENDEBUGMODE_MIN_RENDERING_FULL_SCREEN_DEBUG (9)
|
|
#define FULLSCREENDEBUGMODE_MOTION_VECTORS (10)
|
|
#define FULLSCREENDEBUGMODE_NAN_TRACKER (11)
|
|
#define FULLSCREENDEBUGMODE_MAX_RENDERING_FULL_SCREEN_DEBUG (12)
|
|
|
|
// Generated from UnityEngine.Experimental.Rendering.HDPipeline.ScreenSpaceTracingDebug
|
|
// PackingRules = Exact
|
|
struct ScreenSpaceTracingDebug
|
|
{
|
|
uint startPositionSSX;
|
|
uint startPositionSSY;
|
|
uint cellSizeW;
|
|
uint cellSizeH;
|
|
float3 positionTXS;
|
|
float startLinearDepth;
|
|
uint level;
|
|
uint levelMax;
|
|
uint iteration;
|
|
uint iterationMax;
|
|
};
|
|
|
|
//
|
|
// Accessors for UnityEngine.Experimental.Rendering.HDPipeline.ScreenSpaceTracingDebug
|
|
//
|
|
uint GetStartPositionSSX(ScreenSpaceTracingDebug value)
|
|
{
|
|
return value.startPositionSSX;
|
|
}
|
|
uint GetStartPositionSSY(ScreenSpaceTracingDebug value)
|
|
{
|
|
return value.startPositionSSY;
|
|
}
|
|
uint GetCellSizeW(ScreenSpaceTracingDebug value)
|
|
{
|
|
return value.cellSizeW;
|
|
}
|
|
uint GetCellSizeH(ScreenSpaceTracingDebug value)
|
|
{
|
|
return value.cellSizeH;
|
|
}
|
|
float3 GetPositionTXS(ScreenSpaceTracingDebug value)
|
|
{
|
|
return value.positionTXS;
|
|
}
|
|
float GetStartLinearDepth(ScreenSpaceTracingDebug value)
|
|
{
|
|
return value.startLinearDepth;
|
|
}
|
|
uint GetLevel(ScreenSpaceTracingDebug value)
|
|
{
|
|
return value.level;
|
|
}
|
|
uint GetLevelMax(ScreenSpaceTracingDebug value)
|
|
{
|
|
return value.levelMax;
|
|
}
|
|
uint GetIteration(ScreenSpaceTracingDebug value)
|
|
{
|
|
return value.iteration;
|
|
}
|
|
uint GetIterationMax(ScreenSpaceTracingDebug value)
|
|
{
|
|
return value.iterationMax;
|
|
}
|
|
|
|
|
|
#endif
|