添加Tracy0.11的性能分析支持
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -7,6 +7,3 @@
|
|||||||
[submodule "Assets/Scripts/Framework/[RScript]"]
|
[submodule "Assets/Scripts/Framework/[RScript]"]
|
||||||
path = Assets/Scripts/Framework/[RScript]
|
path = Assets/Scripts/Framework/[RScript]
|
||||||
url = http://www.liubai.site:3000/ninemine/RScript.git
|
url = http://www.liubai.site:3000/ninemine/RScript.git
|
||||||
[submodule "ThirdParty/tracy"]
|
|
||||||
path = ThirdParty/tracy
|
|
||||||
url = http://www.liubai.site:3000/ninemine/tracy-for-unity.git
|
|
||||||
|
|||||||
@@ -1,5 +1,188 @@
|
|||||||
%YAML 1.1
|
%YAML 1.1
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &-8367363435914252474
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 29fa0085f50d5e54f8144f766051a691, type: 3}
|
||||||
|
m_Name: FilmGrain
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.FilmGrain
|
||||||
|
active: 1
|
||||||
|
type:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
intensity:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
response:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.8
|
||||||
|
texture:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {fileID: 0}
|
||||||
|
--- !u!114 &-7254333460319918481
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: c01700fd266d6914ababb731e09af2eb, type: 3}
|
||||||
|
m_Name: DepthOfField
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.DepthOfField
|
||||||
|
active: 1
|
||||||
|
mode:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
gaussianStart:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 10
|
||||||
|
gaussianEnd:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 30
|
||||||
|
gaussianMaxRadius:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
highQualitySampling:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
focusDistance:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 10
|
||||||
|
aperture:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 5.6
|
||||||
|
focalLength:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 50
|
||||||
|
bladeCount:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 5
|
||||||
|
bladeCurvature:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
bladeRotation:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
--- !u!114 &-5155719526522462212
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: a074ec59f6e910b4e8c49f57e56cf95a, type: 3}
|
||||||
|
m_Name: VolumetricFogVolumeComponent
|
||||||
|
m_EditorClassIdentifier: com.cqf.urpvolumetricfog.runtime::VolumetricFogVolumeComponent
|
||||||
|
active: 1
|
||||||
|
distance:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 64
|
||||||
|
baseHeight:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
maximumHeight:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 50
|
||||||
|
enableGround:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
groundHeight:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
density:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.2
|
||||||
|
attenuationDistance:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 128
|
||||||
|
enableAPVContribution:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
APVContributionWeight:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
enableMainLightContribution:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
anisotropy:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.4
|
||||||
|
scattering:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.15
|
||||||
|
tint:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
enableAdditionalLightsContribution:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
maxSteps:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 128
|
||||||
|
blurIterations:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 2
|
||||||
|
enabled:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
renderPassEvent:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 550
|
||||||
|
--- !u!114 &-4889451669530133630
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: ccf1aba9553839d41ae37dd52e9ebcce, type: 3}
|
||||||
|
m_Name: MotionBlur
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.MotionBlur
|
||||||
|
active: 1
|
||||||
|
mode:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
quality:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
intensity:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
clamp:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.05
|
||||||
|
--- !u!114 &-4608504487577118037
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: e021b4c809a781e468c2988c016ebbea, type: 3}
|
||||||
|
m_Name: ColorLookup
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.ColorLookup
|
||||||
|
active: 1
|
||||||
|
texture:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {fileID: 0}
|
||||||
|
dimension: 1
|
||||||
|
contribution:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
--- !u!114 &11400000
|
--- !u!114 &11400000
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -12,4 +195,669 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3}
|
m_Script: {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3}
|
||||||
m_Name: DefaultVolumeProfile
|
m_Name: DefaultVolumeProfile
|
||||||
m_EditorClassIdentifier: Unity.RenderPipelines.Core.Runtime::UnityEngine.Rendering.VolumeProfile
|
m_EditorClassIdentifier: Unity.RenderPipelines.Core.Runtime::UnityEngine.Rendering.VolumeProfile
|
||||||
components: []
|
components:
|
||||||
|
- {fileID: 752306296569854724}
|
||||||
|
- {fileID: 3926580423185050460}
|
||||||
|
- {fileID: 2526441159265119603}
|
||||||
|
- {fileID: -8367363435914252474}
|
||||||
|
- {fileID: 2971420117983266235}
|
||||||
|
- {fileID: -4889451669530133630}
|
||||||
|
- {fileID: 8570197825028203170}
|
||||||
|
- {fileID: -7254333460319918481}
|
||||||
|
- {fileID: 8703638417299971888}
|
||||||
|
- {fileID: 8806199546275156248}
|
||||||
|
- {fileID: 3673821383769473447}
|
||||||
|
- {fileID: 5825337370772966742}
|
||||||
|
- {fileID: 4612072413964691229}
|
||||||
|
- {fileID: 8455289860863443529}
|
||||||
|
- {fileID: 5207230979412003151}
|
||||||
|
- {fileID: -4608504487577118037}
|
||||||
|
- {fileID: 2478755777970815768}
|
||||||
|
- {fileID: 6054189858750340186}
|
||||||
|
- {fileID: 2577288043932277805}
|
||||||
|
- {fileID: -5155719526522462212}
|
||||||
|
--- !u!114 &752306296569854724
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: cdfbdbb87d3286943a057f7791b43141, type: 3}
|
||||||
|
m_Name: ChannelMixer
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.ChannelMixer
|
||||||
|
active: 1
|
||||||
|
redOutRedIn:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 100
|
||||||
|
redOutGreenIn:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
redOutBlueIn:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
greenOutRedIn:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
greenOutGreenIn:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 100
|
||||||
|
greenOutBlueIn:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
blueOutRedIn:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
blueOutGreenIn:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
blueOutBlueIn:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 100
|
||||||
|
--- !u!114 &2478755777970815768
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fb60a22f311433c4c962b888d1393f88, type: 3}
|
||||||
|
m_Name: PaniniProjection
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.PaniniProjection
|
||||||
|
active: 1
|
||||||
|
distance:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
cropToFit:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
--- !u!114 &2526441159265119603
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 899c54efeace73346a0a16faa3afe726, type: 3}
|
||||||
|
m_Name: Vignette
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.Vignette
|
||||||
|
active: 1
|
||||||
|
color:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
center:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {x: 0.5, y: 0.5}
|
||||||
|
intensity:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
smoothness:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.2
|
||||||
|
rounded:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
--- !u!114 &2577288043932277805
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 6bd486065ce11414fa40e631affc4900, type: 3}
|
||||||
|
m_Name: ProbeVolumesOptions
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Core.Runtime::UnityEngine.Rendering.ProbeVolumesOptions
|
||||||
|
active: 1
|
||||||
|
normalBias:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.05
|
||||||
|
viewBias:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.1
|
||||||
|
scaleBiasWithMinProbeDistance:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
samplingNoise:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.1
|
||||||
|
animateSamplingNoise:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
leakReductionMode:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 2
|
||||||
|
minValidDotProductValue:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.1
|
||||||
|
occlusionOnlyReflectionNormalization:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
intensityMultiplier:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
skyOcclusionIntensityMultiplier:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
worldOffset:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!114 &2971420117983266235
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5485954d14dfb9a4c8ead8edb0ded5b1, type: 3}
|
||||||
|
m_Name: LiftGammaGain
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.LiftGammaGain
|
||||||
|
active: 1
|
||||||
|
lift:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {x: 1, y: 1, z: 1, w: 0}
|
||||||
|
gamma:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {x: 1, y: 1, z: 1, w: 0}
|
||||||
|
gain:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {x: 1, y: 1, z: 1, w: 0}
|
||||||
|
--- !u!114 &3673821383769473447
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 0b2db86121404754db890f4c8dfe81b2, type: 3}
|
||||||
|
m_Name: Bloom
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.Bloom
|
||||||
|
active: 1
|
||||||
|
skipIterations:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
threshold:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.9
|
||||||
|
intensity:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
scatter:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.7
|
||||||
|
clamp:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 65472
|
||||||
|
tint:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
highQualityFiltering:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
downscale:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
maxIterations:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 6
|
||||||
|
dirtTexture:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {fileID: 0}
|
||||||
|
dimension: 1
|
||||||
|
dirtIntensity:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
--- !u!114 &3926580423185050460
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 3eb4b772797da9440885e8bd939e9560, type: 3}
|
||||||
|
m_Name: ColorCurves
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.ColorCurves
|
||||||
|
active: 1
|
||||||
|
master:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value:
|
||||||
|
<length>k__BackingField: 2
|
||||||
|
m_Loop: 0
|
||||||
|
m_ZeroValue: 0
|
||||||
|
m_Range: 1
|
||||||
|
m_Curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: 1
|
||||||
|
outSlope: 1
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0
|
||||||
|
outWeight: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 1
|
||||||
|
value: 1
|
||||||
|
inSlope: 1
|
||||||
|
outSlope: 1
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0
|
||||||
|
outWeight: 0
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
red:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value:
|
||||||
|
<length>k__BackingField: 2
|
||||||
|
m_Loop: 0
|
||||||
|
m_ZeroValue: 0
|
||||||
|
m_Range: 1
|
||||||
|
m_Curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: 1
|
||||||
|
outSlope: 1
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0
|
||||||
|
outWeight: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 1
|
||||||
|
value: 1
|
||||||
|
inSlope: 1
|
||||||
|
outSlope: 1
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0
|
||||||
|
outWeight: 0
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
green:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value:
|
||||||
|
<length>k__BackingField: 2
|
||||||
|
m_Loop: 0
|
||||||
|
m_ZeroValue: 0
|
||||||
|
m_Range: 1
|
||||||
|
m_Curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: 1
|
||||||
|
outSlope: 1
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0
|
||||||
|
outWeight: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 1
|
||||||
|
value: 1
|
||||||
|
inSlope: 1
|
||||||
|
outSlope: 1
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0
|
||||||
|
outWeight: 0
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
blue:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value:
|
||||||
|
<length>k__BackingField: 2
|
||||||
|
m_Loop: 0
|
||||||
|
m_ZeroValue: 0
|
||||||
|
m_Range: 1
|
||||||
|
m_Curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: 1
|
||||||
|
outSlope: 1
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0
|
||||||
|
outWeight: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 1
|
||||||
|
value: 1
|
||||||
|
inSlope: 1
|
||||||
|
outSlope: 1
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0
|
||||||
|
outWeight: 0
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
hueVsHue:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value:
|
||||||
|
<length>k__BackingField: 0
|
||||||
|
m_Loop: 1
|
||||||
|
m_ZeroValue: 0.5
|
||||||
|
m_Range: 1
|
||||||
|
m_Curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve: []
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
hueVsSat:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value:
|
||||||
|
<length>k__BackingField: 0
|
||||||
|
m_Loop: 1
|
||||||
|
m_ZeroValue: 0.5
|
||||||
|
m_Range: 1
|
||||||
|
m_Curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve: []
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
satVsSat:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value:
|
||||||
|
<length>k__BackingField: 0
|
||||||
|
m_Loop: 0
|
||||||
|
m_ZeroValue: 0.5
|
||||||
|
m_Range: 1
|
||||||
|
m_Curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve: []
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
lumVsSat:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value:
|
||||||
|
<length>k__BackingField: 0
|
||||||
|
m_Loop: 0
|
||||||
|
m_ZeroValue: 0.5
|
||||||
|
m_Range: 1
|
||||||
|
m_Curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve: []
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
--- !u!114 &4612072413964691229
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 66f335fb1ffd8684294ad653bf1c7564, type: 3}
|
||||||
|
m_Name: ColorAdjustments
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.ColorAdjustments
|
||||||
|
active: 1
|
||||||
|
postExposure:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
contrast:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
colorFilter:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
hueShift:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
saturation:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
--- !u!114 &5207230979412003151
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 70afe9e12c7a7ed47911bb608a23a8ff, type: 3}
|
||||||
|
m_Name: SplitToning
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.SplitToning
|
||||||
|
active: 1
|
||||||
|
shadows:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||||
|
highlights:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||||
|
balance:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
--- !u!114 &5825337370772966742
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: c5e1dc532bcb41949b58bc4f2abfbb7e, type: 3}
|
||||||
|
m_Name: LensDistortion
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.LensDistortion
|
||||||
|
active: 1
|
||||||
|
intensity:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
xMultiplier:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
yMultiplier:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
center:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {x: 0.5, y: 0.5}
|
||||||
|
scale:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
--- !u!114 &6054189858750340186
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 558a8e2b6826cf840aae193990ba9f2e, type: 3}
|
||||||
|
m_Name: ShadowsMidtonesHighlights
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.ShadowsMidtonesHighlights
|
||||||
|
active: 1
|
||||||
|
shadows:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {x: 1, y: 1, z: 1, w: 0}
|
||||||
|
midtones:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {x: 1, y: 1, z: 1, w: 0}
|
||||||
|
highlights:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {x: 1, y: 1, z: 1, w: 0}
|
||||||
|
shadowsStart:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
shadowsEnd:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.3
|
||||||
|
highlightsStart:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.55
|
||||||
|
highlightsEnd:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
--- !u!114 &8455289860863443529
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 97c23e3b12dc18c42a140437e53d3951, type: 3}
|
||||||
|
m_Name: Tonemapping
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.Tonemapping
|
||||||
|
active: 1
|
||||||
|
mode:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
neutralHDRRangeReductionMode:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 2
|
||||||
|
acesPreset:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 3
|
||||||
|
hueShiftAmount:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
detectPaperWhite:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
paperWhite:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 300
|
||||||
|
detectBrightnessLimits:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
minNits:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.005
|
||||||
|
maxNits:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1000
|
||||||
|
--- !u!114 &8570197825028203170
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 81180773991d8724ab7f2d216912b564, type: 3}
|
||||||
|
m_Name: ChromaticAberration
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.ChromaticAberration
|
||||||
|
active: 1
|
||||||
|
intensity:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
--- !u!114 &8703638417299971888
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 06437c1ff663d574d9447842ba0a72e4, type: 3}
|
||||||
|
m_Name: ScreenSpaceLensFlare
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.ScreenSpaceLensFlare
|
||||||
|
active: 1
|
||||||
|
intensity:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
tintColor:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bloomMip:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
firstFlareIntensity:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
secondaryFlareIntensity:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
warpedFlareIntensity:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
warpedFlareScale:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: {x: 1, y: 1}
|
||||||
|
samples:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
sampleDimmer:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.5
|
||||||
|
vignetteEffect:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1
|
||||||
|
startingPosition:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1.25
|
||||||
|
scale:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 1.5
|
||||||
|
streaksIntensity:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
streaksLength:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.5
|
||||||
|
streaksOrientation:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
streaksThreshold:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.25
|
||||||
|
resolution:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 4
|
||||||
|
chromaticAbberationIntensity:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0.5
|
||||||
|
--- !u!114 &8806199546275156248
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 3
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 221518ef91623a7438a71fef23660601, type: 3}
|
||||||
|
m_Name: WhiteBalance
|
||||||
|
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.WhiteBalance
|
||||||
|
active: 1
|
||||||
|
temperature:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
tint:
|
||||||
|
m_OverrideState: 1
|
||||||
|
m_Value: 0
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: a3432eae3b8ea0649835966b4783bdcc
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 4af8ab94b31f4574e887fdf4b1a1747c
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &11400000
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 0}
|
|
||||||
m_Name: GeneralDrawerConfig
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
enableUIToolkitSupport: 1
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &11400000
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 0}
|
|
||||||
m_Name: InspectorConfig
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
enableOdinInInspector: 1
|
|
||||||
defaultEditorBehaviour: 11
|
|
||||||
processMouseMoveInInspector: 1
|
|
||||||
drawingConfig:
|
|
||||||
configs: []
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 8e23a2a2338bd5447a5067a73c378437
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &11400000
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 0}
|
|
||||||
m_Name: OdinModuleConfig
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
configurations:
|
|
||||||
- ID: Unity.Mathematics
|
|
||||||
ActivationSettings: 0
|
|
||||||
ModuleTogglingSettings: 1
|
|
||||||
ModuleUpdateSettings: 1
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 90aa8ed5bd44d134995cb6bd1a2e49d5
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 701bbbcfd7de85846902bcf929374fcf
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: d1da9a2f8eb004e4abf664d8e6e3cb4b
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 981601398cb77ff4f84f3f85f102b7bf
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,87 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &11400000
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 0}
|
|
||||||
m_Name: GlobalValidationConfig
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
ValidateScenesOnSceneLoad:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
ValidateMainProfileOnLoad:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
QueueAssetsOnLoad:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
QueueScenesOnLoad:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
PopulateQueueOnAssetDeleted:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
PopulateQueueOnGameObjectDeleted:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
RunMainValidationSessionOnLoad:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
DeepValidation:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
ContinuouslyValidateVisibleIssues:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
PauseValidationWhileWorkingInSceneView:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
PingOnDoubleClick:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
FocusObjectOnDoubleClick:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
FrameSelection:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
SelectNextIssueOnFix:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
SkipFirstSample:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
ShowWidget:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
DebugMode:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
ShowWidgetOnlyWhenErrorOrWarnings:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
EnableLeakDetection:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
SupressAssetLoadErrorsFromUnityLogger:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
OpenComponentInInspectorAndCloseOthers:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
WatchForChanges:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
ValidateInBackground:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
KeepMainValidationSessionAliveInBackground:
|
|
||||||
serializedValue: 0
|
|
||||||
changedFromDefault: 0
|
|
||||||
HasShownValidationConfig: 0
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 21de056611c342948a48c62b890ca30d
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &11400000
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 0}
|
|
||||||
m_Name: RuleConfig
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
projectRules: []
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 8d69625582175754eab0388ea2244320
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 329188119f87ab94abbd7b1fc953228e
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &11400000
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 0}
|
|
||||||
m_Name: Main Profile
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
Include:
|
|
||||||
- Enabled: 1
|
|
||||||
Type: 2
|
|
||||||
Asset:
|
|
||||||
Path:
|
|
||||||
Filter:
|
|
||||||
Object: {fileID: 0}
|
|
||||||
Scene:
|
|
||||||
Type: 2
|
|
||||||
Value:
|
|
||||||
IncludeAssetDependencies: 1
|
|
||||||
AssetBundle:
|
|
||||||
AddressableGroup:
|
|
||||||
- Enabled: 1
|
|
||||||
Type: 2
|
|
||||||
Asset:
|
|
||||||
Path:
|
|
||||||
Filter:
|
|
||||||
Object: {fileID: 0}
|
|
||||||
Scene:
|
|
||||||
Type: 1
|
|
||||||
Value:
|
|
||||||
IncludeAssetDependencies: 1
|
|
||||||
AssetBundle:
|
|
||||||
AddressableGroup:
|
|
||||||
- Enabled: 1
|
|
||||||
Type: 2
|
|
||||||
Asset:
|
|
||||||
Path:
|
|
||||||
Filter:
|
|
||||||
Object: {fileID: 0}
|
|
||||||
Scene:
|
|
||||||
Type: 0
|
|
||||||
Value: Assets
|
|
||||||
IncludeAssetDependencies: 0
|
|
||||||
AssetBundle:
|
|
||||||
AddressableGroup:
|
|
||||||
- Enabled: 1
|
|
||||||
Type: 0
|
|
||||||
Asset:
|
|
||||||
Path: Assets
|
|
||||||
Filter:
|
|
||||||
Object: {fileID: 0}
|
|
||||||
Scene:
|
|
||||||
Type: 0
|
|
||||||
Value:
|
|
||||||
IncludeAssetDependencies: 0
|
|
||||||
AssetBundle:
|
|
||||||
AddressableGroup:
|
|
||||||
Exclude: []
|
|
||||||
icon: 391
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: d60e4eb0bd6819d4ea5e8275fe345500
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
BIN
Assets/Plugins/Tracy.dll
Normal file
BIN
Assets/Plugins/Tracy.dll
Normal file
Binary file not shown.
2
Assets/Plugins/Tracy.dll.meta
Normal file
2
Assets/Plugins/Tracy.dll.meta
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2e2950756c8ec2544962e6a46b986ca4
|
||||||
BIN
Assets/Plugins/TracyClient.dll
Normal file
BIN
Assets/Plugins/TracyClient.dll
Normal file
Binary file not shown.
2
Assets/Plugins/TracyClient.dll.meta
Normal file
2
Assets/Plugins/TracyClient.dll.meta
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: bd8cf39f319370442ba77c669d814848
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 15b8d99299ac03e4fa1a96156f94bc7f
|
guid: d454817c52931ed4f8a45784b8c7cb67
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
685
Assets/Plugins/TracyClient/ColorType.cs
Normal file
685
Assets/Plugins/TracyClient/ColorType.cs
Normal file
@@ -0,0 +1,685 @@
|
|||||||
|
/// <summary>
|
||||||
|
/// An enum of predefined colors for use with Tracy.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// From <c>TracyColor.hpp</c>
|
||||||
|
/// </remarks>
|
||||||
|
public enum ColorType : uint
|
||||||
|
{
|
||||||
|
Snow = 0xfffafa,
|
||||||
|
GhostWhite = 0xf8f8ff,
|
||||||
|
WhiteSmoke = 0xf5f5f5,
|
||||||
|
Gainsboro = 0xdcdcdc,
|
||||||
|
FloralWhite = 0xfffaf0,
|
||||||
|
OldLace = 0xfdf5e6,
|
||||||
|
Linen = 0xfaf0e6,
|
||||||
|
AntiqueWhite = 0xfaebd7,
|
||||||
|
PapayaWhip = 0xffefd5,
|
||||||
|
BlanchedAlmond = 0xffebcd,
|
||||||
|
Bisque = 0xffe4c4,
|
||||||
|
PeachPuff = 0xffdab9,
|
||||||
|
NavajoWhite = 0xffdead,
|
||||||
|
Moccasin = 0xffe4b5,
|
||||||
|
Cornsilk = 0xfff8dc,
|
||||||
|
Ivory = 0xfffff0,
|
||||||
|
LemonChiffon = 0xfffacd,
|
||||||
|
Seashell = 0xfff5ee,
|
||||||
|
Honeydew = 0xf0fff0,
|
||||||
|
MintCream = 0xf5fffa,
|
||||||
|
Azure = 0xf0ffff,
|
||||||
|
AliceBlue = 0xf0f8ff,
|
||||||
|
Lavender = 0xe6e6fa,
|
||||||
|
LavenderBlush = 0xfff0f5,
|
||||||
|
MistyRose = 0xffe4e1,
|
||||||
|
White = 0xffffff,
|
||||||
|
Black = 0x000000,
|
||||||
|
DarkSlateGray = 0x2f4f4f,
|
||||||
|
DarkSlateGrey = 0x2f4f4f,
|
||||||
|
DimGray = 0x696969,
|
||||||
|
DimGrey = 0x696969,
|
||||||
|
SlateGray = 0x708090,
|
||||||
|
SlateGrey = 0x708090,
|
||||||
|
LightSlateGray = 0x778899,
|
||||||
|
LightSlateGrey = 0x778899,
|
||||||
|
Gray = 0xbebebe,
|
||||||
|
Grey = 0xbebebe,
|
||||||
|
X11Gray = 0xbebebe,
|
||||||
|
X11Grey = 0xbebebe,
|
||||||
|
WebGray = 0x808080,
|
||||||
|
WebGrey = 0x808080,
|
||||||
|
LightGrey = 0xd3d3d3,
|
||||||
|
LightGray = 0xd3d3d3,
|
||||||
|
MidnightBlue = 0x191970,
|
||||||
|
Navy = 0x000080,
|
||||||
|
NavyBlue = 0x000080,
|
||||||
|
CornflowerBlue = 0x6495ed,
|
||||||
|
DarkSlateBlue = 0x483d8b,
|
||||||
|
SlateBlue = 0x6a5acd,
|
||||||
|
MediumSlateBlue = 0x7b68ee,
|
||||||
|
LightSlateBlue = 0x8470ff,
|
||||||
|
MediumBlue = 0x0000cd,
|
||||||
|
RoyalBlue = 0x4169e1,
|
||||||
|
Blue = 0x0000ff,
|
||||||
|
DodgerBlue = 0x1e90ff,
|
||||||
|
DeepSkyBlue = 0x00bfff,
|
||||||
|
SkyBlue = 0x87ceeb,
|
||||||
|
LightSkyBlue = 0x87cefa,
|
||||||
|
SteelBlue = 0x4682b4,
|
||||||
|
LightSteelBlue = 0xb0c4de,
|
||||||
|
LightBlue = 0xadd8e6,
|
||||||
|
PowderBlue = 0xb0e0e6,
|
||||||
|
PaleTurquoise = 0xafeeee,
|
||||||
|
DarkTurquoise = 0x00ced1,
|
||||||
|
MediumTurquoise = 0x48d1cc,
|
||||||
|
Turquoise = 0x40e0d0,
|
||||||
|
Cyan = 0x00ffff,
|
||||||
|
Aqua = 0x00ffff,
|
||||||
|
LightCyan = 0xe0ffff,
|
||||||
|
CadetBlue = 0x5f9ea0,
|
||||||
|
MediumAquamarine = 0x66cdaa,
|
||||||
|
Aquamarine = 0x7fffd4,
|
||||||
|
DarkGreen = 0x006400,
|
||||||
|
DarkOliveGreen = 0x556b2f,
|
||||||
|
DarkSeaGreen = 0x8fbc8f,
|
||||||
|
SeaGreen = 0x2e8b57,
|
||||||
|
MediumSeaGreen = 0x3cb371,
|
||||||
|
LightSeaGreen = 0x20b2aa,
|
||||||
|
PaleGreen = 0x98fb98,
|
||||||
|
SpringGreen = 0x00ff7f,
|
||||||
|
LawnGreen = 0x7cfc00,
|
||||||
|
Green = 0x00ff00,
|
||||||
|
Lime = 0x00ff00,
|
||||||
|
X11Green = 0x00ff00,
|
||||||
|
WebGreen = 0x008000,
|
||||||
|
Chartreuse = 0x7fff00,
|
||||||
|
MediumSpringGreen = 0x00fa9a,
|
||||||
|
GreenYellow = 0xadff2f,
|
||||||
|
LimeGreen = 0x32cd32,
|
||||||
|
YellowGreen = 0x9acd32,
|
||||||
|
ForestGreen = 0x228b22,
|
||||||
|
OliveDrab = 0x6b8e23,
|
||||||
|
DarkKhaki = 0xbdb76b,
|
||||||
|
Khaki = 0xf0e68c,
|
||||||
|
PaleGoldenrod = 0xeee8aa,
|
||||||
|
LightGoldenrodYellow = 0xfafad2,
|
||||||
|
LightYellow = 0xffffe0,
|
||||||
|
Yellow = 0xffff00,
|
||||||
|
Gold = 0xffd700,
|
||||||
|
LightGoldenrod = 0xeedd82,
|
||||||
|
Goldenrod = 0xdaa520,
|
||||||
|
DarkGoldenrod = 0xb8860b,
|
||||||
|
RosyBrown = 0xbc8f8f,
|
||||||
|
IndianRed = 0xcd5c5c,
|
||||||
|
SaddleBrown = 0x8b4513,
|
||||||
|
Sienna = 0xa0522d,
|
||||||
|
Peru = 0xcd853f,
|
||||||
|
Burlywood = 0xdeb887,
|
||||||
|
Beige = 0xf5f5dc,
|
||||||
|
Wheat = 0xf5deb3,
|
||||||
|
SandyBrown = 0xf4a460,
|
||||||
|
Tan = 0xd2b48c,
|
||||||
|
Chocolate = 0xd2691e,
|
||||||
|
Firebrick = 0xb22222,
|
||||||
|
Brown = 0xa52a2a,
|
||||||
|
DarkSalmon = 0xe9967a,
|
||||||
|
Salmon = 0xfa8072,
|
||||||
|
LightSalmon = 0xffa07a,
|
||||||
|
Orange = 0xffa500,
|
||||||
|
DarkOrange = 0xff8c00,
|
||||||
|
Coral = 0xff7f50,
|
||||||
|
LightCoral = 0xf08080,
|
||||||
|
Tomato = 0xff6347,
|
||||||
|
OrangeRed = 0xff4500,
|
||||||
|
Red = 0xff0000,
|
||||||
|
HotPink = 0xff69b4,
|
||||||
|
DeepPink = 0xff1493,
|
||||||
|
Pink = 0xffc0cb,
|
||||||
|
LightPink = 0xffb6c1,
|
||||||
|
PaleVioletRed = 0xdb7093,
|
||||||
|
Maroon = 0xb03060,
|
||||||
|
X11Maroon = 0xb03060,
|
||||||
|
WebMaroon = 0x800000,
|
||||||
|
MediumVioletRed = 0xc71585,
|
||||||
|
VioletRed = 0xd02090,
|
||||||
|
Magenta = 0xff00ff,
|
||||||
|
Fuchsia = 0xff00ff,
|
||||||
|
Violet = 0xee82ee,
|
||||||
|
Plum = 0xdda0dd,
|
||||||
|
Orchid = 0xda70d6,
|
||||||
|
MediumOrchid = 0xba55d3,
|
||||||
|
DarkOrchid = 0x9932cc,
|
||||||
|
DarkViolet = 0x9400d3,
|
||||||
|
BlueViolet = 0x8a2be2,
|
||||||
|
Purple = 0xa020f0,
|
||||||
|
X11Purple = 0xa020f0,
|
||||||
|
WebPurple = 0x800080,
|
||||||
|
MediumPurple = 0x9370db,
|
||||||
|
Thistle = 0xd8bfd8,
|
||||||
|
Snow1 = 0xfffafa,
|
||||||
|
Snow2 = 0xeee9e9,
|
||||||
|
Snow3 = 0xcdc9c9,
|
||||||
|
Snow4 = 0x8b8989,
|
||||||
|
Seashell1 = 0xfff5ee,
|
||||||
|
Seashell2 = 0xeee5de,
|
||||||
|
Seashell3 = 0xcdc5bf,
|
||||||
|
Seashell4 = 0x8b8682,
|
||||||
|
AntiqueWhite1 = 0xffefdb,
|
||||||
|
AntiqueWhite2 = 0xeedfcc,
|
||||||
|
AntiqueWhite3 = 0xcdc0b0,
|
||||||
|
AntiqueWhite4 = 0x8b8378,
|
||||||
|
Bisque1 = 0xffe4c4,
|
||||||
|
Bisque2 = 0xeed5b7,
|
||||||
|
Bisque3 = 0xcdb79e,
|
||||||
|
Bisque4 = 0x8b7d6b,
|
||||||
|
PeachPuff1 = 0xffdab9,
|
||||||
|
PeachPuff2 = 0xeecbad,
|
||||||
|
PeachPuff3 = 0xcdaf95,
|
||||||
|
PeachPuff4 = 0x8b7765,
|
||||||
|
NavajoWhite1 = 0xffdead,
|
||||||
|
NavajoWhite2 = 0xeecfa1,
|
||||||
|
NavajoWhite3 = 0xcdb38b,
|
||||||
|
NavajoWhite4 = 0x8b795e,
|
||||||
|
LemonChiffon1 = 0xfffacd,
|
||||||
|
LemonChiffon2 = 0xeee9bf,
|
||||||
|
LemonChiffon3 = 0xcdc9a5,
|
||||||
|
LemonChiffon4 = 0x8b8970,
|
||||||
|
Cornsilk1 = 0xfff8dc,
|
||||||
|
Cornsilk2 = 0xeee8cd,
|
||||||
|
Cornsilk3 = 0xcdc8b1,
|
||||||
|
Cornsilk4 = 0x8b8878,
|
||||||
|
Ivory1 = 0xfffff0,
|
||||||
|
Ivory2 = 0xeeeee0,
|
||||||
|
Ivory3 = 0xcdcdc1,
|
||||||
|
Ivory4 = 0x8b8b83,
|
||||||
|
Honeydew1 = 0xf0fff0,
|
||||||
|
Honeydew2 = 0xe0eee0,
|
||||||
|
Honeydew3 = 0xc1cdc1,
|
||||||
|
Honeydew4 = 0x838b83,
|
||||||
|
LavenderBlush1 = 0xfff0f5,
|
||||||
|
LavenderBlush2 = 0xeee0e5,
|
||||||
|
LavenderBlush3 = 0xcdc1c5,
|
||||||
|
LavenderBlush4 = 0x8b8386,
|
||||||
|
MistyRose1 = 0xffe4e1,
|
||||||
|
MistyRose2 = 0xeed5d2,
|
||||||
|
MistyRose3 = 0xcdb7b5,
|
||||||
|
MistyRose4 = 0x8b7d7b,
|
||||||
|
Azure1 = 0xf0ffff,
|
||||||
|
Azure2 = 0xe0eeee,
|
||||||
|
Azure3 = 0xc1cdcd,
|
||||||
|
Azure4 = 0x838b8b,
|
||||||
|
SlateBlue1 = 0x836fff,
|
||||||
|
SlateBlue2 = 0x7a67ee,
|
||||||
|
SlateBlue3 = 0x6959cd,
|
||||||
|
SlateBlue4 = 0x473c8b,
|
||||||
|
RoyalBlue1 = 0x4876ff,
|
||||||
|
RoyalBlue2 = 0x436eee,
|
||||||
|
RoyalBlue3 = 0x3a5fcd,
|
||||||
|
RoyalBlue4 = 0x27408b,
|
||||||
|
Blue1 = 0x0000ff,
|
||||||
|
Blue2 = 0x0000ee,
|
||||||
|
Blue3 = 0x0000cd,
|
||||||
|
Blue4 = 0x00008b,
|
||||||
|
DodgerBlue1 = 0x1e90ff,
|
||||||
|
DodgerBlue2 = 0x1c86ee,
|
||||||
|
DodgerBlue3 = 0x1874cd,
|
||||||
|
DodgerBlue4 = 0x104e8b,
|
||||||
|
SteelBlue1 = 0x63b8ff,
|
||||||
|
SteelBlue2 = 0x5cacee,
|
||||||
|
SteelBlue3 = 0x4f94cd,
|
||||||
|
SteelBlue4 = 0x36648b,
|
||||||
|
DeepSkyBlue1 = 0x00bfff,
|
||||||
|
DeepSkyBlue2 = 0x00b2ee,
|
||||||
|
DeepSkyBlue3 = 0x009acd,
|
||||||
|
DeepSkyBlue4 = 0x00688b,
|
||||||
|
SkyBlue1 = 0x87ceff,
|
||||||
|
SkyBlue2 = 0x7ec0ee,
|
||||||
|
SkyBlue3 = 0x6ca6cd,
|
||||||
|
SkyBlue4 = 0x4a708b,
|
||||||
|
LightSkyBlue1 = 0xb0e2ff,
|
||||||
|
LightSkyBlue2 = 0xa4d3ee,
|
||||||
|
LightSkyBlue3 = 0x8db6cd,
|
||||||
|
LightSkyBlue4 = 0x607b8b,
|
||||||
|
SlateGray1 = 0xc6e2ff,
|
||||||
|
SlateGray2 = 0xb9d3ee,
|
||||||
|
SlateGray3 = 0x9fb6cd,
|
||||||
|
SlateGray4 = 0x6c7b8b,
|
||||||
|
LightSteelBlue1 = 0xcae1ff,
|
||||||
|
LightSteelBlue2 = 0xbcd2ee,
|
||||||
|
LightSteelBlue3 = 0xa2b5cd,
|
||||||
|
LightSteelBlue4 = 0x6e7b8b,
|
||||||
|
LightBlue1 = 0xbfefff,
|
||||||
|
LightBlue2 = 0xb2dfee,
|
||||||
|
LightBlue3 = 0x9ac0cd,
|
||||||
|
LightBlue4 = 0x68838b,
|
||||||
|
LightCyan1 = 0xe0ffff,
|
||||||
|
LightCyan2 = 0xd1eeee,
|
||||||
|
LightCyan3 = 0xb4cdcd,
|
||||||
|
LightCyan4 = 0x7a8b8b,
|
||||||
|
PaleTurquoise1 = 0xbbffff,
|
||||||
|
PaleTurquoise2 = 0xaeeeee,
|
||||||
|
PaleTurquoise3 = 0x96cdcd,
|
||||||
|
PaleTurquoise4 = 0x668b8b,
|
||||||
|
CadetBlue1 = 0x98f5ff,
|
||||||
|
CadetBlue2 = 0x8ee5ee,
|
||||||
|
CadetBlue3 = 0x7ac5cd,
|
||||||
|
CadetBlue4 = 0x53868b,
|
||||||
|
Turquoise1 = 0x00f5ff,
|
||||||
|
Turquoise2 = 0x00e5ee,
|
||||||
|
Turquoise3 = 0x00c5cd,
|
||||||
|
Turquoise4 = 0x00868b,
|
||||||
|
Cyan1 = 0x00ffff,
|
||||||
|
Cyan2 = 0x00eeee,
|
||||||
|
Cyan3 = 0x00cdcd,
|
||||||
|
Cyan4 = 0x008b8b,
|
||||||
|
DarkSlateGray1 = 0x97ffff,
|
||||||
|
DarkSlateGray2 = 0x8deeee,
|
||||||
|
DarkSlateGray3 = 0x79cdcd,
|
||||||
|
DarkSlateGray4 = 0x528b8b,
|
||||||
|
Aquamarine1 = 0x7fffd4,
|
||||||
|
Aquamarine2 = 0x76eec6,
|
||||||
|
Aquamarine3 = 0x66cdaa,
|
||||||
|
Aquamarine4 = 0x458b74,
|
||||||
|
DarkSeaGreen1 = 0xc1ffc1,
|
||||||
|
DarkSeaGreen2 = 0xb4eeb4,
|
||||||
|
DarkSeaGreen3 = 0x9bcd9b,
|
||||||
|
DarkSeaGreen4 = 0x698b69,
|
||||||
|
SeaGreen1 = 0x54ff9f,
|
||||||
|
SeaGreen2 = 0x4eee94,
|
||||||
|
SeaGreen3 = 0x43cd80,
|
||||||
|
SeaGreen4 = 0x2e8b57,
|
||||||
|
PaleGreen1 = 0x9aff9a,
|
||||||
|
PaleGreen2 = 0x90ee90,
|
||||||
|
PaleGreen3 = 0x7ccd7c,
|
||||||
|
PaleGreen4 = 0x548b54,
|
||||||
|
SpringGreen1 = 0x00ff7f,
|
||||||
|
SpringGreen2 = 0x00ee76,
|
||||||
|
SpringGreen3 = 0x00cd66,
|
||||||
|
SpringGreen4 = 0x008b45,
|
||||||
|
Green1 = 0x00ff00,
|
||||||
|
Green2 = 0x00ee00,
|
||||||
|
Green3 = 0x00cd00,
|
||||||
|
Green4 = 0x008b00,
|
||||||
|
Chartreuse1 = 0x7fff00,
|
||||||
|
Chartreuse2 = 0x76ee00,
|
||||||
|
Chartreuse3 = 0x66cd00,
|
||||||
|
Chartreuse4 = 0x458b00,
|
||||||
|
OliveDrab1 = 0xc0ff3e,
|
||||||
|
OliveDrab2 = 0xb3ee3a,
|
||||||
|
OliveDrab3 = 0x9acd32,
|
||||||
|
OliveDrab4 = 0x698b22,
|
||||||
|
DarkOliveGreen1 = 0xcaff70,
|
||||||
|
DarkOliveGreen2 = 0xbcee68,
|
||||||
|
DarkOliveGreen3 = 0xa2cd5a,
|
||||||
|
DarkOliveGreen4 = 0x6e8b3d,
|
||||||
|
Khaki1 = 0xfff68f,
|
||||||
|
Khaki2 = 0xeee685,
|
||||||
|
Khaki3 = 0xcdc673,
|
||||||
|
Khaki4 = 0x8b864e,
|
||||||
|
LightGoldenrod1 = 0xffec8b,
|
||||||
|
LightGoldenrod2 = 0xeedc82,
|
||||||
|
LightGoldenrod3 = 0xcdbe70,
|
||||||
|
LightGoldenrod4 = 0x8b814c,
|
||||||
|
LightYellow1 = 0xffffe0,
|
||||||
|
LightYellow2 = 0xeeeed1,
|
||||||
|
LightYellow3 = 0xcdcdb4,
|
||||||
|
LightYellow4 = 0x8b8b7a,
|
||||||
|
Yellow1 = 0xffff00,
|
||||||
|
Yellow2 = 0xeeee00,
|
||||||
|
Yellow3 = 0xcdcd00,
|
||||||
|
Yellow4 = 0x8b8b00,
|
||||||
|
Gold1 = 0xffd700,
|
||||||
|
Gold2 = 0xeec900,
|
||||||
|
Gold3 = 0xcdad00,
|
||||||
|
Gold4 = 0x8b7500,
|
||||||
|
Goldenrod1 = 0xffc125,
|
||||||
|
Goldenrod2 = 0xeeb422,
|
||||||
|
Goldenrod3 = 0xcd9b1d,
|
||||||
|
Goldenrod4 = 0x8b6914,
|
||||||
|
DarkGoldenrod1 = 0xffb90f,
|
||||||
|
DarkGoldenrod2 = 0xeead0e,
|
||||||
|
DarkGoldenrod3 = 0xcd950c,
|
||||||
|
DarkGoldenrod4 = 0x8b6508,
|
||||||
|
RosyBrown1 = 0xffc1c1,
|
||||||
|
RosyBrown2 = 0xeeb4b4,
|
||||||
|
RosyBrown3 = 0xcd9b9b,
|
||||||
|
RosyBrown4 = 0x8b6969,
|
||||||
|
IndianRed1 = 0xff6a6a,
|
||||||
|
IndianRed2 = 0xee6363,
|
||||||
|
IndianRed3 = 0xcd5555,
|
||||||
|
IndianRed4 = 0x8b3a3a,
|
||||||
|
Sienna1 = 0xff8247,
|
||||||
|
Sienna2 = 0xee7942,
|
||||||
|
Sienna3 = 0xcd6839,
|
||||||
|
Sienna4 = 0x8b4726,
|
||||||
|
Burlywood1 = 0xffd39b,
|
||||||
|
Burlywood2 = 0xeec591,
|
||||||
|
Burlywood3 = 0xcdaa7d,
|
||||||
|
Burlywood4 = 0x8b7355,
|
||||||
|
Wheat1 = 0xffe7ba,
|
||||||
|
Wheat2 = 0xeed8ae,
|
||||||
|
Wheat3 = 0xcdba96,
|
||||||
|
Wheat4 = 0x8b7e66,
|
||||||
|
Tan1 = 0xffa54f,
|
||||||
|
Tan2 = 0xee9a49,
|
||||||
|
Tan3 = 0xcd853f,
|
||||||
|
Tan4 = 0x8b5a2b,
|
||||||
|
Chocolate1 = 0xff7f24,
|
||||||
|
Chocolate2 = 0xee7621,
|
||||||
|
Chocolate3 = 0xcd661d,
|
||||||
|
Chocolate4 = 0x8b4513,
|
||||||
|
Firebrick1 = 0xff3030,
|
||||||
|
Firebrick2 = 0xee2c2c,
|
||||||
|
Firebrick3 = 0xcd2626,
|
||||||
|
Firebrick4 = 0x8b1a1a,
|
||||||
|
Brown1 = 0xff4040,
|
||||||
|
Brown2 = 0xee3b3b,
|
||||||
|
Brown3 = 0xcd3333,
|
||||||
|
Brown4 = 0x8b2323,
|
||||||
|
Salmon1 = 0xff8c69,
|
||||||
|
Salmon2 = 0xee8262,
|
||||||
|
Salmon3 = 0xcd7054,
|
||||||
|
Salmon4 = 0x8b4c39,
|
||||||
|
LightSalmon1 = 0xffa07a,
|
||||||
|
LightSalmon2 = 0xee9572,
|
||||||
|
LightSalmon3 = 0xcd8162,
|
||||||
|
LightSalmon4 = 0x8b5742,
|
||||||
|
Orange1 = 0xffa500,
|
||||||
|
Orange2 = 0xee9a00,
|
||||||
|
Orange3 = 0xcd8500,
|
||||||
|
Orange4 = 0x8b5a00,
|
||||||
|
DarkOrange1 = 0xff7f00,
|
||||||
|
DarkOrange2 = 0xee7600,
|
||||||
|
DarkOrange3 = 0xcd6600,
|
||||||
|
DarkOrange4 = 0x8b4500,
|
||||||
|
Coral1 = 0xff7256,
|
||||||
|
Coral2 = 0xee6a50,
|
||||||
|
Coral3 = 0xcd5b45,
|
||||||
|
Coral4 = 0x8b3e2f,
|
||||||
|
Tomato1 = 0xff6347,
|
||||||
|
Tomato2 = 0xee5c42,
|
||||||
|
Tomato3 = 0xcd4f39,
|
||||||
|
Tomato4 = 0x8b3626,
|
||||||
|
OrangeRed1 = 0xff4500,
|
||||||
|
OrangeRed2 = 0xee4000,
|
||||||
|
OrangeRed3 = 0xcd3700,
|
||||||
|
OrangeRed4 = 0x8b2500,
|
||||||
|
Red1 = 0xff0000,
|
||||||
|
Red2 = 0xee0000,
|
||||||
|
Red3 = 0xcd0000,
|
||||||
|
Red4 = 0x8b0000,
|
||||||
|
DeepPink1 = 0xff1493,
|
||||||
|
DeepPink2 = 0xee1289,
|
||||||
|
DeepPink3 = 0xcd1076,
|
||||||
|
DeepPink4 = 0x8b0a50,
|
||||||
|
HotPink1 = 0xff6eb4,
|
||||||
|
HotPink2 = 0xee6aa7,
|
||||||
|
HotPink3 = 0xcd6090,
|
||||||
|
HotPink4 = 0x8b3a62,
|
||||||
|
Pink1 = 0xffb5c5,
|
||||||
|
Pink2 = 0xeea9b8,
|
||||||
|
Pink3 = 0xcd919e,
|
||||||
|
Pink4 = 0x8b636c,
|
||||||
|
LightPink1 = 0xffaeb9,
|
||||||
|
LightPink2 = 0xeea2ad,
|
||||||
|
LightPink3 = 0xcd8c95,
|
||||||
|
LightPink4 = 0x8b5f65,
|
||||||
|
PaleVioletRed1 = 0xff82ab,
|
||||||
|
PaleVioletRed2 = 0xee799f,
|
||||||
|
PaleVioletRed3 = 0xcd6889,
|
||||||
|
PaleVioletRed4 = 0x8b475d,
|
||||||
|
Maroon1 = 0xff34b3,
|
||||||
|
Maroon2 = 0xee30a7,
|
||||||
|
Maroon3 = 0xcd2990,
|
||||||
|
Maroon4 = 0x8b1c62,
|
||||||
|
VioletRed1 = 0xff3e96,
|
||||||
|
VioletRed2 = 0xee3a8c,
|
||||||
|
VioletRed3 = 0xcd3278,
|
||||||
|
VioletRed4 = 0x8b2252,
|
||||||
|
Magenta1 = 0xff00ff,
|
||||||
|
Magenta2 = 0xee00ee,
|
||||||
|
Magenta3 = 0xcd00cd,
|
||||||
|
Magenta4 = 0x8b008b,
|
||||||
|
Orchid1 = 0xff83fa,
|
||||||
|
Orchid2 = 0xee7ae9,
|
||||||
|
Orchid3 = 0xcd69c9,
|
||||||
|
Orchid4 = 0x8b4789,
|
||||||
|
Plum1 = 0xffbbff,
|
||||||
|
Plum2 = 0xeeaeee,
|
||||||
|
Plum3 = 0xcd96cd,
|
||||||
|
Plum4 = 0x8b668b,
|
||||||
|
MediumOrchid1 = 0xe066ff,
|
||||||
|
MediumOrchid2 = 0xd15fee,
|
||||||
|
MediumOrchid3 = 0xb452cd,
|
||||||
|
MediumOrchid4 = 0x7a378b,
|
||||||
|
DarkOrchid1 = 0xbf3eff,
|
||||||
|
DarkOrchid2 = 0xb23aee,
|
||||||
|
DarkOrchid3 = 0x9a32cd,
|
||||||
|
DarkOrchid4 = 0x68228b,
|
||||||
|
Purple1 = 0x9b30ff,
|
||||||
|
Purple2 = 0x912cee,
|
||||||
|
Purple3 = 0x7d26cd,
|
||||||
|
Purple4 = 0x551a8b,
|
||||||
|
MediumPurple1 = 0xab82ff,
|
||||||
|
MediumPurple2 = 0x9f79ee,
|
||||||
|
MediumPurple3 = 0x8968cd,
|
||||||
|
MediumPurple4 = 0x5d478b,
|
||||||
|
Thistle1 = 0xffe1ff,
|
||||||
|
Thistle2 = 0xeed2ee,
|
||||||
|
Thistle3 = 0xcdb5cd,
|
||||||
|
Thistle4 = 0x8b7b8b,
|
||||||
|
Gray0 = 0x000000,
|
||||||
|
Grey0 = 0x000000,
|
||||||
|
Gray1 = 0x030303,
|
||||||
|
Grey1 = 0x030303,
|
||||||
|
Gray2 = 0x050505,
|
||||||
|
Grey2 = 0x050505,
|
||||||
|
Gray3 = 0x080808,
|
||||||
|
Grey3 = 0x080808,
|
||||||
|
Gray4 = 0x0a0a0a,
|
||||||
|
Grey4 = 0x0a0a0a,
|
||||||
|
Gray5 = 0x0d0d0d,
|
||||||
|
Grey5 = 0x0d0d0d,
|
||||||
|
Gray6 = 0x0f0f0f,
|
||||||
|
Grey6 = 0x0f0f0f,
|
||||||
|
Gray7 = 0x121212,
|
||||||
|
Grey7 = 0x121212,
|
||||||
|
Gray8 = 0x141414,
|
||||||
|
Grey8 = 0x141414,
|
||||||
|
Gray9 = 0x171717,
|
||||||
|
Grey9 = 0x171717,
|
||||||
|
Gray10 = 0x1a1a1a,
|
||||||
|
Grey10 = 0x1a1a1a,
|
||||||
|
Gray11 = 0x1c1c1c,
|
||||||
|
Grey11 = 0x1c1c1c,
|
||||||
|
Gray12 = 0x1f1f1f,
|
||||||
|
Grey12 = 0x1f1f1f,
|
||||||
|
Gray13 = 0x212121,
|
||||||
|
Grey13 = 0x212121,
|
||||||
|
Gray14 = 0x242424,
|
||||||
|
Grey14 = 0x242424,
|
||||||
|
Gray15 = 0x262626,
|
||||||
|
Grey15 = 0x262626,
|
||||||
|
Gray16 = 0x292929,
|
||||||
|
Grey16 = 0x292929,
|
||||||
|
Gray17 = 0x2b2b2b,
|
||||||
|
Grey17 = 0x2b2b2b,
|
||||||
|
Gray18 = 0x2e2e2e,
|
||||||
|
Grey18 = 0x2e2e2e,
|
||||||
|
Gray19 = 0x303030,
|
||||||
|
Grey19 = 0x303030,
|
||||||
|
Gray20 = 0x333333,
|
||||||
|
Grey20 = 0x333333,
|
||||||
|
Gray21 = 0x363636,
|
||||||
|
Grey21 = 0x363636,
|
||||||
|
Gray22 = 0x383838,
|
||||||
|
Grey22 = 0x383838,
|
||||||
|
Gray23 = 0x3b3b3b,
|
||||||
|
Grey23 = 0x3b3b3b,
|
||||||
|
Gray24 = 0x3d3d3d,
|
||||||
|
Grey24 = 0x3d3d3d,
|
||||||
|
Gray25 = 0x404040,
|
||||||
|
Grey25 = 0x404040,
|
||||||
|
Gray26 = 0x424242,
|
||||||
|
Grey26 = 0x424242,
|
||||||
|
Gray27 = 0x454545,
|
||||||
|
Grey27 = 0x454545,
|
||||||
|
Gray28 = 0x474747,
|
||||||
|
Grey28 = 0x474747,
|
||||||
|
Gray29 = 0x4a4a4a,
|
||||||
|
Grey29 = 0x4a4a4a,
|
||||||
|
Gray30 = 0x4d4d4d,
|
||||||
|
Grey30 = 0x4d4d4d,
|
||||||
|
Gray31 = 0x4f4f4f,
|
||||||
|
Grey31 = 0x4f4f4f,
|
||||||
|
Gray32 = 0x525252,
|
||||||
|
Grey32 = 0x525252,
|
||||||
|
Gray33 = 0x545454,
|
||||||
|
Grey33 = 0x545454,
|
||||||
|
Gray34 = 0x575757,
|
||||||
|
Grey34 = 0x575757,
|
||||||
|
Gray35 = 0x595959,
|
||||||
|
Grey35 = 0x595959,
|
||||||
|
Gray36 = 0x5c5c5c,
|
||||||
|
Grey36 = 0x5c5c5c,
|
||||||
|
Gray37 = 0x5e5e5e,
|
||||||
|
Grey37 = 0x5e5e5e,
|
||||||
|
Gray38 = 0x616161,
|
||||||
|
Grey38 = 0x616161,
|
||||||
|
Gray39 = 0x636363,
|
||||||
|
Grey39 = 0x636363,
|
||||||
|
Gray40 = 0x666666,
|
||||||
|
Grey40 = 0x666666,
|
||||||
|
Gray41 = 0x696969,
|
||||||
|
Grey41 = 0x696969,
|
||||||
|
Gray42 = 0x6b6b6b,
|
||||||
|
Grey42 = 0x6b6b6b,
|
||||||
|
Gray43 = 0x6e6e6e,
|
||||||
|
Grey43 = 0x6e6e6e,
|
||||||
|
Gray44 = 0x707070,
|
||||||
|
Grey44 = 0x707070,
|
||||||
|
Gray45 = 0x737373,
|
||||||
|
Grey45 = 0x737373,
|
||||||
|
Gray46 = 0x757575,
|
||||||
|
Grey46 = 0x757575,
|
||||||
|
Gray47 = 0x787878,
|
||||||
|
Grey47 = 0x787878,
|
||||||
|
Gray48 = 0x7a7a7a,
|
||||||
|
Grey48 = 0x7a7a7a,
|
||||||
|
Gray49 = 0x7d7d7d,
|
||||||
|
Grey49 = 0x7d7d7d,
|
||||||
|
Gray50 = 0x7f7f7f,
|
||||||
|
Grey50 = 0x7f7f7f,
|
||||||
|
Gray51 = 0x828282,
|
||||||
|
Grey51 = 0x828282,
|
||||||
|
Gray52 = 0x858585,
|
||||||
|
Grey52 = 0x858585,
|
||||||
|
Gray53 = 0x878787,
|
||||||
|
Grey53 = 0x878787,
|
||||||
|
Gray54 = 0x8a8a8a,
|
||||||
|
Grey54 = 0x8a8a8a,
|
||||||
|
Gray55 = 0x8c8c8c,
|
||||||
|
Grey55 = 0x8c8c8c,
|
||||||
|
Gray56 = 0x8f8f8f,
|
||||||
|
Grey56 = 0x8f8f8f,
|
||||||
|
Gray57 = 0x919191,
|
||||||
|
Grey57 = 0x919191,
|
||||||
|
Gray58 = 0x949494,
|
||||||
|
Grey58 = 0x949494,
|
||||||
|
Gray59 = 0x969696,
|
||||||
|
Grey59 = 0x969696,
|
||||||
|
Gray60 = 0x999999,
|
||||||
|
Grey60 = 0x999999,
|
||||||
|
Gray61 = 0x9c9c9c,
|
||||||
|
Grey61 = 0x9c9c9c,
|
||||||
|
Gray62 = 0x9e9e9e,
|
||||||
|
Grey62 = 0x9e9e9e,
|
||||||
|
Gray63 = 0xa1a1a1,
|
||||||
|
Grey63 = 0xa1a1a1,
|
||||||
|
Gray64 = 0xa3a3a3,
|
||||||
|
Grey64 = 0xa3a3a3,
|
||||||
|
Gray65 = 0xa6a6a6,
|
||||||
|
Grey65 = 0xa6a6a6,
|
||||||
|
Gray66 = 0xa8a8a8,
|
||||||
|
Grey66 = 0xa8a8a8,
|
||||||
|
Gray67 = 0xababab,
|
||||||
|
Grey67 = 0xababab,
|
||||||
|
Gray68 = 0xadadad,
|
||||||
|
Grey68 = 0xadadad,
|
||||||
|
Gray69 = 0xb0b0b0,
|
||||||
|
Grey69 = 0xb0b0b0,
|
||||||
|
Gray70 = 0xb3b3b3,
|
||||||
|
Grey70 = 0xb3b3b3,
|
||||||
|
Gray71 = 0xb5b5b5,
|
||||||
|
Grey71 = 0xb5b5b5,
|
||||||
|
Gray72 = 0xb8b8b8,
|
||||||
|
Grey72 = 0xb8b8b8,
|
||||||
|
Gray73 = 0xbababa,
|
||||||
|
Grey73 = 0xbababa,
|
||||||
|
Gray74 = 0xbdbdbd,
|
||||||
|
Grey74 = 0xbdbdbd,
|
||||||
|
Gray75 = 0xbfbfbf,
|
||||||
|
Grey75 = 0xbfbfbf,
|
||||||
|
Gray76 = 0xc2c2c2,
|
||||||
|
Grey76 = 0xc2c2c2,
|
||||||
|
Gray77 = 0xc4c4c4,
|
||||||
|
Grey77 = 0xc4c4c4,
|
||||||
|
Gray78 = 0xc7c7c7,
|
||||||
|
Grey78 = 0xc7c7c7,
|
||||||
|
Gray79 = 0xc9c9c9,
|
||||||
|
Grey79 = 0xc9c9c9,
|
||||||
|
Gray80 = 0xcccccc,
|
||||||
|
Grey80 = 0xcccccc,
|
||||||
|
Gray81 = 0xcfcfcf,
|
||||||
|
Grey81 = 0xcfcfcf,
|
||||||
|
Gray82 = 0xd1d1d1,
|
||||||
|
Grey82 = 0xd1d1d1,
|
||||||
|
Gray83 = 0xd4d4d4,
|
||||||
|
Grey83 = 0xd4d4d4,
|
||||||
|
Gray84 = 0xd6d6d6,
|
||||||
|
Grey84 = 0xd6d6d6,
|
||||||
|
Gray85 = 0xd9d9d9,
|
||||||
|
Grey85 = 0xd9d9d9,
|
||||||
|
Gray86 = 0xdbdbdb,
|
||||||
|
Grey86 = 0xdbdbdb,
|
||||||
|
Gray87 = 0xdedede,
|
||||||
|
Grey87 = 0xdedede,
|
||||||
|
Gray88 = 0xe0e0e0,
|
||||||
|
Grey88 = 0xe0e0e0,
|
||||||
|
Gray89 = 0xe3e3e3,
|
||||||
|
Grey89 = 0xe3e3e3,
|
||||||
|
Gray90 = 0xe5e5e5,
|
||||||
|
Grey90 = 0xe5e5e5,
|
||||||
|
Gray91 = 0xe8e8e8,
|
||||||
|
Grey91 = 0xe8e8e8,
|
||||||
|
Gray92 = 0xebebeb,
|
||||||
|
Grey92 = 0xebebeb,
|
||||||
|
Gray93 = 0xededed,
|
||||||
|
Grey93 = 0xededed,
|
||||||
|
Gray94 = 0xf0f0f0,
|
||||||
|
Grey94 = 0xf0f0f0,
|
||||||
|
Gray95 = 0xf2f2f2,
|
||||||
|
Grey95 = 0xf2f2f2,
|
||||||
|
Gray96 = 0xf5f5f5,
|
||||||
|
Grey96 = 0xf5f5f5,
|
||||||
|
Gray97 = 0xf7f7f7,
|
||||||
|
Grey97 = 0xf7f7f7,
|
||||||
|
Gray98 = 0xfafafa,
|
||||||
|
Grey98 = 0xfafafa,
|
||||||
|
Gray99 = 0xfcfcfc,
|
||||||
|
Grey99 = 0xfcfcfc,
|
||||||
|
Gray100 = 0xffffff,
|
||||||
|
Grey100 = 0xffffff,
|
||||||
|
DarkGrey = 0xa9a9a9,
|
||||||
|
DarkGray = 0xa9a9a9,
|
||||||
|
DarkBlue = 0x00008b,
|
||||||
|
DarkCyan = 0x008b8b,
|
||||||
|
DarkMagenta = 0x8b008b,
|
||||||
|
DarkRed = 0x8b0000,
|
||||||
|
LightGreen = 0x90ee90,
|
||||||
|
Crimson = 0xdc143c,
|
||||||
|
Indigo = 0x4b0082,
|
||||||
|
Olive = 0x808000,
|
||||||
|
RebeccaPurple = 0x663399,
|
||||||
|
Silver = 0xc0c0c0,
|
||||||
|
Teal = 0x008080,
|
||||||
|
};
|
||||||
2
Assets/Plugins/TracyClient/ColorType.cs.meta
Normal file
2
Assets/Plugins/TracyClient/ColorType.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d25c538cb528c984c81f628d5075f90b
|
||||||
186
Assets/Plugins/TracyClient/Profiler.cs
Normal file
186
Assets/Plugins/TracyClient/Profiler.cs
Normal file
@@ -0,0 +1,186 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using bottlenoselabs.C2CS.Runtime;
|
||||||
|
using static Tracy.PInvoke;
|
||||||
|
|
||||||
|
public static class Profiler
|
||||||
|
{
|
||||||
|
// Plot names need to be cached for the lifetime of the program
|
||||||
|
// seealso Tracy docs section 3.1
|
||||||
|
private static readonly Dictionary<string, CString> PlotNameCache = new Dictionary<string, CString>();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Begins a new <see cref="ProfilerZone"/> and returns the handle to that zone. Time
|
||||||
|
/// spent inside a zone is calculated by Tracy and shown in the profiler. A zone is
|
||||||
|
/// ended when <see cref="ProfilerZone.Dispose"/> is called either automatically via
|
||||||
|
/// disposal scope rules or by calling it manually.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="zoneName">A custom name for this zone.</param>
|
||||||
|
/// <param name="active">Is the zone active. An inactive zone wont be shown in the profiler.</param>
|
||||||
|
/// <param name="color">An <c>RRGGBB</c> color code that Tracy will use to color the zone in the profiler.</param>
|
||||||
|
/// <param name="text">Arbitrary text associated with this zone.</param>
|
||||||
|
/// <param name="lineNumber">
|
||||||
|
/// The source code line number that this zone begins at.
|
||||||
|
/// If this param is not explicitly assigned the value will provided by <see cref="CallerLineNumberAttribute"/>.
|
||||||
|
/// </param>
|
||||||
|
/// <param name="filePath">
|
||||||
|
/// The source code file path that this zone begins at.
|
||||||
|
/// If this param is not explicitly assigned the value will provided by <see cref="CallerFilePathAttribute"/>.
|
||||||
|
/// </param>
|
||||||
|
/// <param name="memberName">
|
||||||
|
/// The source code member name that this zone begins at.
|
||||||
|
/// If this param is not explicitly assigned the value will provided by <see cref="CallerMemberNameAttribute"/>.
|
||||||
|
/// </param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static ProfilerZone BeginZone(
|
||||||
|
string zoneName = null,
|
||||||
|
bool active = true,
|
||||||
|
uint color = 0,
|
||||||
|
string text = null,
|
||||||
|
[CallerLineNumber] uint lineNumber = 0,
|
||||||
|
[CallerFilePath] string filePath = null,
|
||||||
|
[CallerMemberName] string memberName = null)
|
||||||
|
{
|
||||||
|
using var filestr = GetCString(filePath, out var fileln);
|
||||||
|
using var memberstr = GetCString(memberName, out var memberln);
|
||||||
|
using var namestr = GetCString(zoneName, out var nameln);
|
||||||
|
var srcLocId = TracyAllocSrclocName(lineNumber, filestr, fileln, memberstr, memberln, namestr, nameln, color);
|
||||||
|
var context = TracyEmitZoneBeginAlloc(srcLocId, active ? 1 : 0);
|
||||||
|
|
||||||
|
if (text != null)
|
||||||
|
{
|
||||||
|
using var textstr = GetCString(text, out var textln);
|
||||||
|
TracyEmitZoneText(context, textstr, textln);
|
||||||
|
}
|
||||||
|
|
||||||
|
return new ProfilerZone(context);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Configure how Tracy will display plotted values.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="name">
|
||||||
|
/// Name of the plot to configure. Each <paramref name="name"/> represents a unique plot.
|
||||||
|
/// </param>
|
||||||
|
/// <param name="type">
|
||||||
|
/// Changes how the values in the plot are presented by the profiler.
|
||||||
|
/// </param>
|
||||||
|
/// <param name="step">
|
||||||
|
/// Determines whether the plot will be displayed as a staircase or will smoothly change between plot points
|
||||||
|
/// </param>
|
||||||
|
/// <param name="fill">
|
||||||
|
/// If <see langword="false"/> the the area below the plot will not be filled with a solid color.
|
||||||
|
/// </param>
|
||||||
|
/// <param name="color">
|
||||||
|
/// An <c>RRGGBB</c> color code that Tracy will use to color the plot in the profiler.
|
||||||
|
/// </param>
|
||||||
|
public static void PlotConfig(string name, PlotType type = PlotType.Number, bool step = false, bool fill = true, uint color = 0)
|
||||||
|
{
|
||||||
|
var namestr = GetPlotCString(name);
|
||||||
|
TracyEmitPlotConfig(namestr, (int)type, step ? 1 : 0, fill ? 1 : 0, color);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Add a <see langword="double"/> value to a plot.
|
||||||
|
/// </summary>
|
||||||
|
public static void Plot(string name, double val)
|
||||||
|
{
|
||||||
|
var namestr = GetPlotCString(name);
|
||||||
|
TracyEmitPlot(namestr, val);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Add a <see langword="float"/> value to a plot.
|
||||||
|
/// </summary>
|
||||||
|
public static void Plot(string name, int val)
|
||||||
|
{
|
||||||
|
var namestr = GetPlotCString(name);
|
||||||
|
TracyEmitPlotInt(namestr, val);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Add a <see langword="float"/> value to a plot.
|
||||||
|
/// </summary>
|
||||||
|
public static void Plot(string name, float val)
|
||||||
|
{
|
||||||
|
var namestr = GetPlotCString(name);
|
||||||
|
TracyEmitPlotFloat(namestr, val);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static CString GetPlotCString(string name)
|
||||||
|
{
|
||||||
|
if(!PlotNameCache.TryGetValue(name, out var plotCString))
|
||||||
|
{
|
||||||
|
plotCString = CString.FromString(name);
|
||||||
|
PlotNameCache.Add(name, plotCString);
|
||||||
|
}
|
||||||
|
return plotCString;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Emit a string that will be included along with the trace description.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Viewable in the Info tab in the profiler.
|
||||||
|
/// </remarks>
|
||||||
|
public static void AppInfo(string appInfo)
|
||||||
|
{
|
||||||
|
using var infostr = GetCString(appInfo, out var infoln);
|
||||||
|
TracyEmitMessageAppinfo(infostr, infoln);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Emit the top-level frame marker.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Tracy Cpp API and docs refer to this as the <c>FrameMark</c> macro.
|
||||||
|
/// </remarks>
|
||||||
|
public static void EmitFrameMark()
|
||||||
|
{
|
||||||
|
TracyEmitFrameMark(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Is the app connected to the external profiler?
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static bool IsConnected()
|
||||||
|
{
|
||||||
|
return TracyConnected() != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Creates a <seealso cref="CString"/> for use by Tracy. Also returns the
|
||||||
|
/// length of the string for interop convenience.
|
||||||
|
/// </summary>
|
||||||
|
public static CString GetCString(string fromString, out ulong clength)
|
||||||
|
{
|
||||||
|
if (fromString == null)
|
||||||
|
{
|
||||||
|
clength = 0;
|
||||||
|
return new CString("");
|
||||||
|
}
|
||||||
|
clength = (ulong)fromString.Length;
|
||||||
|
return CString.FromString(fromString);
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum PlotType
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Values will be displayed as plain numbers.
|
||||||
|
/// </summary>
|
||||||
|
Number = 0,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Treats the values as memory sizes. Will display kilobytes, megabytes, etc.
|
||||||
|
/// </summary>
|
||||||
|
Memory = 1,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Values will be displayed as percentage (with value 100 being equal to 100%).
|
||||||
|
/// </summary>
|
||||||
|
Percentage = 2,
|
||||||
|
}
|
||||||
|
}
|
||||||
2
Assets/Plugins/TracyClient/Profiler.cs.meta
Normal file
2
Assets/Plugins/TracyClient/Profiler.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f49fd7e9800482a4eae7a85006ed58c7
|
||||||
38
Assets/Plugins/TracyClient/ProfilerZone.cs
Normal file
38
Assets/Plugins/TracyClient/ProfilerZone.cs
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
using System;
|
||||||
|
using static Tracy.PInvoke;
|
||||||
|
|
||||||
|
public readonly struct ProfilerZone : IDisposable
|
||||||
|
{
|
||||||
|
public readonly TracyCZoneCtx Context;
|
||||||
|
|
||||||
|
public uint Id => Context.Data.Id;
|
||||||
|
|
||||||
|
public int Active => Context.Data.Active;
|
||||||
|
|
||||||
|
internal ProfilerZone(TracyCZoneCtx context)
|
||||||
|
{
|
||||||
|
Context = context;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void EmitName(string name)
|
||||||
|
{
|
||||||
|
using var namestr = Profiler.GetCString(name, out var nameln);
|
||||||
|
TracyEmitZoneName(Context, namestr, nameln);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void EmitColor(uint color)
|
||||||
|
{
|
||||||
|
TracyEmitZoneColor(Context, color);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void EmitText(string text)
|
||||||
|
{
|
||||||
|
using var textstr = Profiler.GetCString(text, out var textln);
|
||||||
|
TracyEmitZoneText(Context, textstr, textln);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
TracyEmitZoneEnd(Context);
|
||||||
|
}
|
||||||
|
}
|
||||||
2
Assets/Plugins/TracyClient/ProfilerZone.cs.meta
Normal file
2
Assets/Plugins/TracyClient/ProfilerZone.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b9380c076788ba340b9001f759a2af41
|
||||||
BIN
Assets/Plugins/c2cs.Tool.dll
Normal file
BIN
Assets/Plugins/c2cs.Tool.dll
Normal file
Binary file not shown.
2
Assets/Plugins/c2cs.Tool.dll.meta
Normal file
2
Assets/Plugins/c2cs.Tool.dll.meta
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 44b981ea42b323c4cbc6c5ab960b15fd
|
||||||
@@ -13,7 +13,7 @@ OcclusionCullingSettings:
|
|||||||
--- !u!104 &2
|
--- !u!104 &2
|
||||||
RenderSettings:
|
RenderSettings:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
serializedVersion: 9
|
serializedVersion: 10
|
||||||
m_Fog: 0
|
m_Fog: 0
|
||||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||||
m_FogMode: 3
|
m_FogMode: 3
|
||||||
@@ -42,8 +42,8 @@ RenderSettings:
|
|||||||
--- !u!157 &3
|
--- !u!157 &3
|
||||||
LightmapSettings:
|
LightmapSettings:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
serializedVersion: 12
|
serializedVersion: 13
|
||||||
m_GIWorkflowMode: 1
|
m_BakeOnSceneLoad: 0
|
||||||
m_GISettings:
|
m_GISettings:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_BounceScale: 1
|
m_BounceScale: 1
|
||||||
@@ -66,9 +66,6 @@ LightmapSettings:
|
|||||||
m_LightmapParameters: {fileID: 0}
|
m_LightmapParameters: {fileID: 0}
|
||||||
m_LightmapsBakeMode: 1
|
m_LightmapsBakeMode: 1
|
||||||
m_TextureCompression: 1
|
m_TextureCompression: 1
|
||||||
m_FinalGather: 0
|
|
||||||
m_FinalGatherFiltering: 1
|
|
||||||
m_FinalGatherRayCount: 256
|
|
||||||
m_ReflectionCompression: 2
|
m_ReflectionCompression: 2
|
||||||
m_MixedBakeMode: 2
|
m_MixedBakeMode: 2
|
||||||
m_BakeBackend: 1
|
m_BakeBackend: 1
|
||||||
@@ -122,6 +119,58 @@ NavMeshSettings:
|
|||||||
debug:
|
debug:
|
||||||
m_Flags: 0
|
m_Flags: 0
|
||||||
m_NavMeshData: {fileID: 0}
|
m_NavMeshData: {fileID: 0}
|
||||||
|
--- !u!1 &1824953085
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1824953087}
|
||||||
|
- component: {fileID: 1824953086}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Tracy
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!114 &1824953086
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1824953085}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 873ec0ee481baae47a53cb9b17613ee2, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: Assembly-CSharp-firstpass::TracyProfiler.TracyManager
|
||||||
|
enableOnStart: 1
|
||||||
|
markFrames: 1
|
||||||
|
monitorFrameRate: 1
|
||||||
|
monitorMemory: 1
|
||||||
|
monitorRendering: 1
|
||||||
|
monitorPhysics: 1
|
||||||
|
enableInEditor: 1
|
||||||
|
showDebugInfo: 0
|
||||||
|
--- !u!4 &1824953087
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1824953085}
|
||||||
|
serializedVersion: 2
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!1001 &3034005643433456659
|
--- !u!1001 &3034005643433456659
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -418,6 +467,10 @@ PrefabInstance:
|
|||||||
propertyPath: IsDisableGC
|
propertyPath: IsDisableGC
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5832146162940797674, guid: c659abfe74df5de47a769f8d52c18fcc, type: 3}
|
||||||
|
propertyPath: TracyProfilerManager
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 1824953086}
|
||||||
- target: {fileID: 6049043771459676306, guid: c659abfe74df5de47a769f8d52c18fcc, type: 3}
|
- target: {fileID: 6049043771459676306, guid: c659abfe74df5de47a769f8d52c18fcc, type: 3}
|
||||||
propertyPath: m_AnchorMax.y
|
propertyPath: m_AnchorMax.y
|
||||||
value: 0
|
value: 0
|
||||||
@@ -616,3 +669,4 @@ SceneRoots:
|
|||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_Roots:
|
m_Roots:
|
||||||
- {fileID: 3034005643433456659}
|
- {fileID: 3034005643433456659}
|
||||||
|
- {fileID: 1824953087}
|
||||||
|
|||||||
@@ -1,25 +1,19 @@
|
|||||||
using System;
|
|
||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using Convention;
|
using Convention;
|
||||||
using Convention.WindowsUI;
|
using Convention.WindowsUI;
|
||||||
using Convention.WindowsUI.Variant;
|
using Convention.WindowsUI.Variant;
|
||||||
using Demo.Game;
|
using Demo.Game;
|
||||||
using Unity.Profiling;
|
using System;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.InputSystem;
|
using UnityEngine.InputSystem;
|
||||||
using UnityEngine.Rendering;
|
|
||||||
using UnityEngine.SceneManagement;
|
using UnityEngine.SceneManagement;
|
||||||
|
|
||||||
namespace Demo.Editor
|
namespace Demo.Editor
|
||||||
{
|
{
|
||||||
public class EditorController : MonoSingleton<EditorController>
|
public class EditorController : MonoSingleton<EditorController>
|
||||||
{
|
{
|
||||||
#if UNITY_EDITOR||Using_ProfilerMarker
|
|
||||||
public ProfilerMarker s_PreparePerfMarker = new(nameof(EditorController) + "Runtime");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 必须是-1至0
|
/// 必须是-1至0
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -376,6 +370,8 @@ namespace Demo.Editor
|
|||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
|
Profiler.AppInfo(Application.productName);
|
||||||
|
|
||||||
GlobalConfig.ConstConfigFile = "config.easysave";
|
GlobalConfig.ConstConfigFile = "config.easysave";
|
||||||
// Generate Framework
|
// Generate Framework
|
||||||
{
|
{
|
||||||
@@ -490,15 +486,47 @@ namespace Demo.Editor
|
|||||||
StartCoroutine(Foo());
|
StartCoroutine(Foo());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#region Performance Monitoring
|
||||||
|
|
||||||
|
private void MonitorFrameRate()
|
||||||
|
{
|
||||||
|
float fps = 1.0f / Time.unscaledDeltaTime;
|
||||||
|
float frameTime = Time.unscaledDeltaTime * 1000.0f;
|
||||||
|
|
||||||
|
Profiler.Plot("FPS", fps);
|
||||||
|
Profiler.Plot("Frame Time (ms)", frameTime);
|
||||||
|
Profiler.Plot("Time Scale", Time.timeScale);
|
||||||
|
}
|
||||||
|
private void MonitorMemory()
|
||||||
|
{
|
||||||
|
// GC 内存
|
||||||
|
long totalMemory = System.GC.GetTotalMemory(false);
|
||||||
|
Profiler.Plot("GC Memory (MB)", totalMemory / (1024.0 * 1024.0));
|
||||||
|
|
||||||
|
// Unity Profiler 内存统计
|
||||||
|
long usedHeap = UnityEngine.Profiling.Profiler.usedHeapSizeLong;
|
||||||
|
long totalAllocated = UnityEngine.Profiling.Profiler.GetTotalAllocatedMemoryLong();
|
||||||
|
long totalReserved = UnityEngine.Profiling.Profiler.GetTotalReservedMemoryLong();
|
||||||
|
|
||||||
|
Profiler.Plot("Used Heap (MB)", usedHeap / (1024.0 * 1024.0));
|
||||||
|
Profiler.Plot("Total Allocated (MB)", totalAllocated / (1024.0 * 1024.0));
|
||||||
|
Profiler.Plot("Total Reserved (MB)", totalReserved / (1024.0 * 1024.0));
|
||||||
|
|
||||||
|
// 纹理内存
|
||||||
|
Profiler.Plot("Texture Memory (MB)", UnityEngine.Profiling.Profiler.GetAllocatedMemoryForGraphicsDriver() / (1024.0 * 1024.0));
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
{
|
{
|
||||||
CurrentFPS.text = $"{1 / Time.smoothDeltaTime}";
|
MonitorMemory();
|
||||||
|
MonitorFrameRate();
|
||||||
|
|
||||||
#if UNITY_EDITOR||Using_ProfilerMarker
|
using (Profiler.BeginZone("EditorController.Update"))
|
||||||
s_PreparePerfMarker.Begin(this);
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
#endif
|
CurrentFPS.text = $"{1 / Time.smoothDeltaTime}";
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(LastLoadProjectName))
|
if (string.IsNullOrEmpty(LastLoadProjectName))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@@ -557,13 +585,12 @@ namespace Demo.Editor
|
|||||||
CloseCurrentProject();
|
CloseCurrentProject();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if UNITY_EDITOR||Using_ProfilerMarker
|
|
||||||
}
|
}
|
||||||
finally
|
}
|
||||||
{
|
|
||||||
s_PreparePerfMarker.End();
|
private void LateUpdate()
|
||||||
}
|
{
|
||||||
#endif
|
Profiler.EmitFrameMark();
|
||||||
}
|
}
|
||||||
|
|
||||||
// ToolTable
|
// ToolTable
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
|
using Cinemachine;
|
||||||
|
using Convention;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Cinemachine;
|
|
||||||
using Convention;
|
|
||||||
using Unity.Profiling;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.InputSystem;
|
using UnityEngine.InputSystem;
|
||||||
using UnityEngine.SceneManagement;
|
using UnityEngine.SceneManagement;
|
||||||
@@ -296,11 +295,6 @@ namespace Demo.Game
|
|||||||
|
|
||||||
private bool IsScrollTimeline = false;
|
private bool IsScrollTimeline = false;
|
||||||
|
|
||||||
#if UNITY_EDITOR||Using_ProfilerMarker
|
|
||||||
public ProfilerMarker s_PreparePerfMarkerForSetSongCurrentTime = new(nameof(GameController) + "RuntimeForSetSongCurrentTime");
|
|
||||||
public ProfilerMarker s_PreparePerfMarker = new(nameof(GameController) + "Runtime");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
{
|
{
|
||||||
CurrentTime = MainAudio.CurrentTime + SongOffset;
|
CurrentTime = MainAudio.CurrentTime + SongOffset;
|
||||||
@@ -313,23 +307,23 @@ namespace Demo.Game
|
|||||||
// TODO : 修正这个逻辑,这个逻辑是反常的
|
// TODO : 修正这个逻辑,这个逻辑是反常的
|
||||||
if (MainAudio.IsPlaying())
|
if (MainAudio.IsPlaying())
|
||||||
{
|
{
|
||||||
#if UNITY_EDITOR||Using_ProfilerMarker
|
using (Profiler.BeginZone("GameController.SetSongCurrentTime"))
|
||||||
s_PreparePerfMarkerForSetSongCurrentTime.Begin();
|
{
|
||||||
#endif
|
SetSongCurrentTime(CurrentTime);
|
||||||
SetSongCurrentTime(CurrentTime);
|
}
|
||||||
#if UNITY_EDITOR||Using_ProfilerMarker
|
|
||||||
s_PreparePerfMarkerForSetSongCurrentTime.End();
|
using (Profiler.BeginZone("GameController.ScriptUpdate"))
|
||||||
#endif
|
{
|
||||||
MainObject.ScriptUpdate(CurrentTime, deltaTime, ScriptableObject.TickType.Update);
|
MainObject.ScriptUpdate(CurrentTime, deltaTime, ScriptableObject.TickType.Update);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (IsMain == false)
|
if (IsMain == false)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
#if UNITY_EDITOR || Using_ProfilerMarker
|
using (Profiler.BeginZone("GameController.InputHandling"))
|
||||||
s_PreparePerfMarker.Begin(this);
|
{
|
||||||
#endif
|
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
if (Keyboard.current[Key.LeftShift].isPressed)
|
if (Keyboard.current[Key.LeftShift].isPressed)
|
||||||
#else
|
#else
|
||||||
if (Keyboard.current[Key.LeftCtrl].isPressed)
|
if (Keyboard.current[Key.LeftCtrl].isPressed)
|
||||||
#endif
|
#endif
|
||||||
@@ -374,9 +368,7 @@ namespace Demo.Game
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if UNITY_EDITOR||Using_ProfilerMarker
|
}
|
||||||
s_PreparePerfMarker.End();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerator GameExit()
|
public IEnumerator GameExit()
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using Unity.Profiling;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Demo
|
namespace Demo
|
||||||
@@ -276,9 +275,6 @@ namespace Demo
|
|||||||
|
|
||||||
public void EnableScript(ScriptableObject parent)
|
public void EnableScript(ScriptableObject parent)
|
||||||
{
|
{
|
||||||
#if UNITY_EDITOR||Using_ProfilerMarker
|
|
||||||
s_PreparePerfMarker = new(ScriptName);
|
|
||||||
#endif
|
|
||||||
if (isEnableScript)
|
if (isEnableScript)
|
||||||
{
|
{
|
||||||
Debug.LogError($"ScriptableObject is currently enableScript, start coroutine {nameof(UnloadScript)} to disable", this);
|
Debug.LogError($"ScriptableObject is currently enableScript, start coroutine {nameof(UnloadScript)} to disable", this);
|
||||||
@@ -328,11 +324,6 @@ namespace Demo
|
|||||||
public static Dictionary<string, Type> FastScriptableObjectTypen = new();
|
public static Dictionary<string, Type> FastScriptableObjectTypen = new();
|
||||||
public static int AllScriptableObjectCounter = 0;
|
public static int AllScriptableObjectCounter = 0;
|
||||||
|
|
||||||
|
|
||||||
#if UNITY_EDITOR||Using_ProfilerMarker
|
|
||||||
public ProfilerMarker s_PreparePerfMarker;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#region LoadSubScript
|
#region LoadSubScript
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -471,28 +462,26 @@ namespace Demo
|
|||||||
return;
|
return;
|
||||||
if (gameObject.activeInHierarchy == false)
|
if (gameObject.activeInHierarchy == false)
|
||||||
return;
|
return;
|
||||||
#if UNITY_EDITOR||Using_ProfilerMarker
|
|
||||||
s_PreparePerfMarker.Begin(this);
|
using (Profiler.BeginZone($"{GetType().Name}.Update"))
|
||||||
#endif
|
|
||||||
if (tickType == TickType.Reset)
|
|
||||||
{
|
{
|
||||||
ResetEnterGameStatus();
|
if (tickType == TickType.Reset)
|
||||||
|
{
|
||||||
|
ResetEnterGameStatus();
|
||||||
|
}
|
||||||
|
// UpdateTicks
|
||||||
|
if (UpdatePerFrame > 0)
|
||||||
|
{
|
||||||
|
if (ScriptUpdateCounter % UpdatePerFrame == 0)
|
||||||
|
UpdateTicks(currentTime, deltaTime, tickType);
|
||||||
|
ScriptUpdateCounter += tickType == TickType.Update ? 1 : 0;
|
||||||
|
}
|
||||||
|
// Childs UpdateTicks
|
||||||
|
foreach (var child in Childs)
|
||||||
|
{
|
||||||
|
child.ScriptUpdate(currentTime, deltaTime, tickType);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// UpdateTicks
|
|
||||||
if (UpdatePerFrame > 0)
|
|
||||||
{
|
|
||||||
if (ScriptUpdateCounter % UpdatePerFrame == 0)
|
|
||||||
UpdateTicks(currentTime, deltaTime, tickType);
|
|
||||||
ScriptUpdateCounter += tickType == TickType.Update ? 1 : 0;
|
|
||||||
}
|
|
||||||
// Childs UpdateTicks
|
|
||||||
foreach (var child in Childs)
|
|
||||||
{
|
|
||||||
child.ScriptUpdate(currentTime, deltaTime, tickType);
|
|
||||||
}
|
|
||||||
#if UNITY_EDITOR||Using_ProfilerMarker
|
|
||||||
s_PreparePerfMarker.End();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual void UpdateTicks(float currentTime, float deltaTime, TickType tickType)
|
protected virtual void UpdateTicks(float currentTime, float deltaTime, TickType tickType)
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
|
using Convention;
|
||||||
|
using Demo.Editor.UI;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using Convention;
|
|
||||||
using Demo.Editor.UI;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Demo.Game
|
namespace Demo.Game
|
||||||
@@ -71,38 +69,41 @@ namespace Demo.Game
|
|||||||
|
|
||||||
protected override void UpdateTicks(float currentTime, float deltaTime, TickType tickType)
|
protected override void UpdateTicks(float currentTime, float deltaTime, TickType tickType)
|
||||||
{
|
{
|
||||||
base.UpdateTicks(currentTime, deltaTime, tickType);
|
using (Profiler.BeginZone($"Updatement<{typeof(DataType).Name}>.UpdateTicks"))
|
||||||
|
|
||||||
float GetPercentValue()
|
|
||||||
{
|
{
|
||||||
return (currentTime - Entries[Content].TimePoint) / (Entries[Content + 1].TimePoint - Entries[Content].TimePoint);
|
base.UpdateTicks(currentTime, deltaTime, tickType);
|
||||||
}
|
|
||||||
|
|
||||||
if (Entries.Count <= 1)
|
float GetPercentValue()
|
||||||
return;
|
{
|
||||||
switch (tickType)
|
return (currentTime - Entries[Content].TimePoint) / (Entries[Content + 1].TimePoint - Entries[Content].TimePoint);
|
||||||
{
|
}
|
||||||
case TickType.Reset:
|
|
||||||
case TickType.Start:
|
if (Entries.Count <= 1)
|
||||||
{
|
return;
|
||||||
Content = 0;
|
switch (tickType)
|
||||||
while (Content + 1 < Entries.Count && Entries[Content + 1].TimePoint < currentTime)
|
{
|
||||||
|
case TickType.Reset:
|
||||||
|
case TickType.Start:
|
||||||
|
{
|
||||||
|
Content = 0;
|
||||||
|
while (Content + 1 < Entries.Count && Entries[Content + 1].TimePoint < currentTime)
|
||||||
|
Content++;
|
||||||
|
UpdateEntry(Content, GetPercentValue());
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
if (Entries[0].TimePoint > currentTime)
|
||||||
|
return;
|
||||||
|
if (Content + 1 >= Entries.Count)
|
||||||
|
return;
|
||||||
|
if (Entries[Content + 1].TimePoint < currentTime)
|
||||||
Content++;
|
Content++;
|
||||||
UpdateEntry(Content, GetPercentValue());
|
if (Content + 1 >= Entries.Count)
|
||||||
}
|
UpdateEntry(Content, 1);
|
||||||
break;
|
else
|
||||||
default:
|
UpdateEntry(Content, GetPercentValue());
|
||||||
if (Entries[0].TimePoint > currentTime)
|
break;
|
||||||
return;
|
}
|
||||||
if (Content + 1 >= Entries.Count)
|
|
||||||
return;
|
|
||||||
if (Entries[Content + 1].TimePoint < currentTime)
|
|
||||||
Content++;
|
|
||||||
if (Content + 1 >= Entries.Count)
|
|
||||||
UpdateEntry(Content, 1);
|
|
||||||
else
|
|
||||||
UpdateEntry(Content, GetPercentValue());
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 4b2f860a4b14bd34aa031e44889d6e43
|
guid: 9eca9e52d1958ce4fb170de90a98eab6
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
1160
Assets/Settings/Build Profiles/Windows.asset
Normal file
1160
Assets/Settings/Build Profiles/Windows.asset
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 89b1cff9e400e00429e694df2fba7ef4
|
guid: e9f10947745a0df44967ebd27db02ec9
|
||||||
NativeFormatImporter:
|
NativeFormatImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
mainObjectFileID: 11400000
|
mainObjectFileID: 11400000
|
||||||
@@ -6,7 +6,6 @@
|
|||||||
"com.unity.collab-proxy": "2.9.3",
|
"com.unity.collab-proxy": "2.9.3",
|
||||||
"com.unity.feature.2d": "2.0.1",
|
"com.unity.feature.2d": "2.0.1",
|
||||||
"com.unity.ide.visualstudio": "2.0.23",
|
"com.unity.ide.visualstudio": "2.0.23",
|
||||||
"com.unity.ide.vscode": "1.2.5",
|
|
||||||
"com.unity.inputsystem": "1.14.2",
|
"com.unity.inputsystem": "1.14.2",
|
||||||
"com.unity.learn.iet-framework": "5.0.2",
|
"com.unity.learn.iet-framework": "5.0.2",
|
||||||
"com.unity.memoryprofiler": "1.1.8",
|
"com.unity.memoryprofiler": "1.1.8",
|
||||||
|
|||||||
@@ -201,13 +201,6 @@
|
|||||||
},
|
},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
"com.unity.ide.vscode": {
|
|
||||||
"version": "1.2.5",
|
|
||||||
"depth": 0,
|
|
||||||
"source": "registry",
|
|
||||||
"dependencies": {},
|
|
||||||
"url": "https://packages.unity.com"
|
|
||||||
},
|
|
||||||
"com.unity.inputsystem": {
|
"com.unity.inputsystem": {
|
||||||
"version": "1.14.2",
|
"version": "1.14.2",
|
||||||
"depth": 0,
|
"depth": 0,
|
||||||
|
|||||||
@@ -4,164 +4,123 @@
|
|||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.AnimationClip",
|
"type": "UnityEngine.AnimationClip",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEditor.Animations.AnimatorController",
|
"type": "UnityEditor.Animations.AnimatorController",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.AnimatorOverrideController",
|
"type": "UnityEngine.AnimatorOverrideController",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEditor.Audio.AudioMixerController",
|
"type": "UnityEditor.Audio.AudioMixerController",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.ComputeShader",
|
"type": "UnityEngine.ComputeShader",
|
||||||
"ignore": true,
|
"defaultInstantiationMode": 1
|
||||||
"defaultInstantiationMode": 1,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.Cubemap",
|
"type": "UnityEngine.Cubemap",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.GameObject",
|
"type": "UnityEngine.GameObject",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEditor.LightingDataAsset",
|
"type": "UnityEditor.LightingDataAsset",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": false
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.LightingSettings",
|
"type": "UnityEngine.LightingSettings",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.Material",
|
"type": "UnityEngine.Material",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEditor.MonoScript",
|
"type": "UnityEditor.MonoScript",
|
||||||
"ignore": true,
|
"defaultInstantiationMode": 1
|
||||||
"defaultInstantiationMode": 1,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.PhysicMaterial",
|
"type": "UnityEngine.PhysicMaterial",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
},
|
||||||
"supportsModification": true
|
{
|
||||||
|
"userAdded": false,
|
||||||
|
"type": "UnityEngine.PhysicsMaterial",
|
||||||
|
"defaultInstantiationMode": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.PhysicsMaterial2D",
|
"type": "UnityEngine.PhysicsMaterial2D",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile",
|
"type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.Rendering.PostProcessing.PostProcessResources",
|
"type": "UnityEngine.Rendering.PostProcessing.PostProcessResources",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.Rendering.VolumeProfile",
|
"type": "UnityEngine.Rendering.VolumeProfile",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEditor.SceneAsset",
|
"type": "UnityEditor.SceneAsset",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": false
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.Shader",
|
"type": "UnityEngine.Shader",
|
||||||
"ignore": true,
|
"defaultInstantiationMode": 1
|
||||||
"defaultInstantiationMode": 1,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.ShaderVariantCollection",
|
"type": "UnityEngine.ShaderVariantCollection",
|
||||||
"ignore": true,
|
"defaultInstantiationMode": 1
|
||||||
"defaultInstantiationMode": 1,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.Texture",
|
"type": "UnityEngine.Texture",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.Texture2D",
|
"type": "UnityEngine.Texture2D",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "UnityEngine.Timeline.TimelineAsset",
|
"type": "UnityEngine.Timeline.TimelineAsset",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 0
|
||||||
"defaultInstantiationMode": 0,
|
|
||||||
"supportsModification": true
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"defaultDependencyTypeInfo": {
|
"defaultDependencyTypeInfo": {
|
||||||
"userAdded": false,
|
"userAdded": false,
|
||||||
"type": "<default_scene_template_dependencies>",
|
"type": "<default_scene_template_dependencies>",
|
||||||
"ignore": false,
|
"defaultInstantiationMode": 1
|
||||||
"defaultInstantiationMode": 1,
|
|
||||||
"supportsModification": true
|
|
||||||
},
|
},
|
||||||
"newSceneOverride": 0
|
"newSceneOverride": 0
|
||||||
}
|
}
|
||||||
1
ThirdParty/tracy
vendored
1
ThirdParty/tracy
vendored
Submodule ThirdParty/tracy deleted from 6818de280b
685
ThirdParty/tracy-0.11/ColorType.cs
vendored
Normal file
685
ThirdParty/tracy-0.11/ColorType.cs
vendored
Normal file
@@ -0,0 +1,685 @@
|
|||||||
|
/// <summary>
|
||||||
|
/// An enum of predefined colors for use with Tracy.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// From <c>TracyColor.hpp</c>
|
||||||
|
/// </remarks>
|
||||||
|
public enum ColorType : uint
|
||||||
|
{
|
||||||
|
Snow = 0xfffafa,
|
||||||
|
GhostWhite = 0xf8f8ff,
|
||||||
|
WhiteSmoke = 0xf5f5f5,
|
||||||
|
Gainsboro = 0xdcdcdc,
|
||||||
|
FloralWhite = 0xfffaf0,
|
||||||
|
OldLace = 0xfdf5e6,
|
||||||
|
Linen = 0xfaf0e6,
|
||||||
|
AntiqueWhite = 0xfaebd7,
|
||||||
|
PapayaWhip = 0xffefd5,
|
||||||
|
BlanchedAlmond = 0xffebcd,
|
||||||
|
Bisque = 0xffe4c4,
|
||||||
|
PeachPuff = 0xffdab9,
|
||||||
|
NavajoWhite = 0xffdead,
|
||||||
|
Moccasin = 0xffe4b5,
|
||||||
|
Cornsilk = 0xfff8dc,
|
||||||
|
Ivory = 0xfffff0,
|
||||||
|
LemonChiffon = 0xfffacd,
|
||||||
|
Seashell = 0xfff5ee,
|
||||||
|
Honeydew = 0xf0fff0,
|
||||||
|
MintCream = 0xf5fffa,
|
||||||
|
Azure = 0xf0ffff,
|
||||||
|
AliceBlue = 0xf0f8ff,
|
||||||
|
Lavender = 0xe6e6fa,
|
||||||
|
LavenderBlush = 0xfff0f5,
|
||||||
|
MistyRose = 0xffe4e1,
|
||||||
|
White = 0xffffff,
|
||||||
|
Black = 0x000000,
|
||||||
|
DarkSlateGray = 0x2f4f4f,
|
||||||
|
DarkSlateGrey = 0x2f4f4f,
|
||||||
|
DimGray = 0x696969,
|
||||||
|
DimGrey = 0x696969,
|
||||||
|
SlateGray = 0x708090,
|
||||||
|
SlateGrey = 0x708090,
|
||||||
|
LightSlateGray = 0x778899,
|
||||||
|
LightSlateGrey = 0x778899,
|
||||||
|
Gray = 0xbebebe,
|
||||||
|
Grey = 0xbebebe,
|
||||||
|
X11Gray = 0xbebebe,
|
||||||
|
X11Grey = 0xbebebe,
|
||||||
|
WebGray = 0x808080,
|
||||||
|
WebGrey = 0x808080,
|
||||||
|
LightGrey = 0xd3d3d3,
|
||||||
|
LightGray = 0xd3d3d3,
|
||||||
|
MidnightBlue = 0x191970,
|
||||||
|
Navy = 0x000080,
|
||||||
|
NavyBlue = 0x000080,
|
||||||
|
CornflowerBlue = 0x6495ed,
|
||||||
|
DarkSlateBlue = 0x483d8b,
|
||||||
|
SlateBlue = 0x6a5acd,
|
||||||
|
MediumSlateBlue = 0x7b68ee,
|
||||||
|
LightSlateBlue = 0x8470ff,
|
||||||
|
MediumBlue = 0x0000cd,
|
||||||
|
RoyalBlue = 0x4169e1,
|
||||||
|
Blue = 0x0000ff,
|
||||||
|
DodgerBlue = 0x1e90ff,
|
||||||
|
DeepSkyBlue = 0x00bfff,
|
||||||
|
SkyBlue = 0x87ceeb,
|
||||||
|
LightSkyBlue = 0x87cefa,
|
||||||
|
SteelBlue = 0x4682b4,
|
||||||
|
LightSteelBlue = 0xb0c4de,
|
||||||
|
LightBlue = 0xadd8e6,
|
||||||
|
PowderBlue = 0xb0e0e6,
|
||||||
|
PaleTurquoise = 0xafeeee,
|
||||||
|
DarkTurquoise = 0x00ced1,
|
||||||
|
MediumTurquoise = 0x48d1cc,
|
||||||
|
Turquoise = 0x40e0d0,
|
||||||
|
Cyan = 0x00ffff,
|
||||||
|
Aqua = 0x00ffff,
|
||||||
|
LightCyan = 0xe0ffff,
|
||||||
|
CadetBlue = 0x5f9ea0,
|
||||||
|
MediumAquamarine = 0x66cdaa,
|
||||||
|
Aquamarine = 0x7fffd4,
|
||||||
|
DarkGreen = 0x006400,
|
||||||
|
DarkOliveGreen = 0x556b2f,
|
||||||
|
DarkSeaGreen = 0x8fbc8f,
|
||||||
|
SeaGreen = 0x2e8b57,
|
||||||
|
MediumSeaGreen = 0x3cb371,
|
||||||
|
LightSeaGreen = 0x20b2aa,
|
||||||
|
PaleGreen = 0x98fb98,
|
||||||
|
SpringGreen = 0x00ff7f,
|
||||||
|
LawnGreen = 0x7cfc00,
|
||||||
|
Green = 0x00ff00,
|
||||||
|
Lime = 0x00ff00,
|
||||||
|
X11Green = 0x00ff00,
|
||||||
|
WebGreen = 0x008000,
|
||||||
|
Chartreuse = 0x7fff00,
|
||||||
|
MediumSpringGreen = 0x00fa9a,
|
||||||
|
GreenYellow = 0xadff2f,
|
||||||
|
LimeGreen = 0x32cd32,
|
||||||
|
YellowGreen = 0x9acd32,
|
||||||
|
ForestGreen = 0x228b22,
|
||||||
|
OliveDrab = 0x6b8e23,
|
||||||
|
DarkKhaki = 0xbdb76b,
|
||||||
|
Khaki = 0xf0e68c,
|
||||||
|
PaleGoldenrod = 0xeee8aa,
|
||||||
|
LightGoldenrodYellow = 0xfafad2,
|
||||||
|
LightYellow = 0xffffe0,
|
||||||
|
Yellow = 0xffff00,
|
||||||
|
Gold = 0xffd700,
|
||||||
|
LightGoldenrod = 0xeedd82,
|
||||||
|
Goldenrod = 0xdaa520,
|
||||||
|
DarkGoldenrod = 0xb8860b,
|
||||||
|
RosyBrown = 0xbc8f8f,
|
||||||
|
IndianRed = 0xcd5c5c,
|
||||||
|
SaddleBrown = 0x8b4513,
|
||||||
|
Sienna = 0xa0522d,
|
||||||
|
Peru = 0xcd853f,
|
||||||
|
Burlywood = 0xdeb887,
|
||||||
|
Beige = 0xf5f5dc,
|
||||||
|
Wheat = 0xf5deb3,
|
||||||
|
SandyBrown = 0xf4a460,
|
||||||
|
Tan = 0xd2b48c,
|
||||||
|
Chocolate = 0xd2691e,
|
||||||
|
Firebrick = 0xb22222,
|
||||||
|
Brown = 0xa52a2a,
|
||||||
|
DarkSalmon = 0xe9967a,
|
||||||
|
Salmon = 0xfa8072,
|
||||||
|
LightSalmon = 0xffa07a,
|
||||||
|
Orange = 0xffa500,
|
||||||
|
DarkOrange = 0xff8c00,
|
||||||
|
Coral = 0xff7f50,
|
||||||
|
LightCoral = 0xf08080,
|
||||||
|
Tomato = 0xff6347,
|
||||||
|
OrangeRed = 0xff4500,
|
||||||
|
Red = 0xff0000,
|
||||||
|
HotPink = 0xff69b4,
|
||||||
|
DeepPink = 0xff1493,
|
||||||
|
Pink = 0xffc0cb,
|
||||||
|
LightPink = 0xffb6c1,
|
||||||
|
PaleVioletRed = 0xdb7093,
|
||||||
|
Maroon = 0xb03060,
|
||||||
|
X11Maroon = 0xb03060,
|
||||||
|
WebMaroon = 0x800000,
|
||||||
|
MediumVioletRed = 0xc71585,
|
||||||
|
VioletRed = 0xd02090,
|
||||||
|
Magenta = 0xff00ff,
|
||||||
|
Fuchsia = 0xff00ff,
|
||||||
|
Violet = 0xee82ee,
|
||||||
|
Plum = 0xdda0dd,
|
||||||
|
Orchid = 0xda70d6,
|
||||||
|
MediumOrchid = 0xba55d3,
|
||||||
|
DarkOrchid = 0x9932cc,
|
||||||
|
DarkViolet = 0x9400d3,
|
||||||
|
BlueViolet = 0x8a2be2,
|
||||||
|
Purple = 0xa020f0,
|
||||||
|
X11Purple = 0xa020f0,
|
||||||
|
WebPurple = 0x800080,
|
||||||
|
MediumPurple = 0x9370db,
|
||||||
|
Thistle = 0xd8bfd8,
|
||||||
|
Snow1 = 0xfffafa,
|
||||||
|
Snow2 = 0xeee9e9,
|
||||||
|
Snow3 = 0xcdc9c9,
|
||||||
|
Snow4 = 0x8b8989,
|
||||||
|
Seashell1 = 0xfff5ee,
|
||||||
|
Seashell2 = 0xeee5de,
|
||||||
|
Seashell3 = 0xcdc5bf,
|
||||||
|
Seashell4 = 0x8b8682,
|
||||||
|
AntiqueWhite1 = 0xffefdb,
|
||||||
|
AntiqueWhite2 = 0xeedfcc,
|
||||||
|
AntiqueWhite3 = 0xcdc0b0,
|
||||||
|
AntiqueWhite4 = 0x8b8378,
|
||||||
|
Bisque1 = 0xffe4c4,
|
||||||
|
Bisque2 = 0xeed5b7,
|
||||||
|
Bisque3 = 0xcdb79e,
|
||||||
|
Bisque4 = 0x8b7d6b,
|
||||||
|
PeachPuff1 = 0xffdab9,
|
||||||
|
PeachPuff2 = 0xeecbad,
|
||||||
|
PeachPuff3 = 0xcdaf95,
|
||||||
|
PeachPuff4 = 0x8b7765,
|
||||||
|
NavajoWhite1 = 0xffdead,
|
||||||
|
NavajoWhite2 = 0xeecfa1,
|
||||||
|
NavajoWhite3 = 0xcdb38b,
|
||||||
|
NavajoWhite4 = 0x8b795e,
|
||||||
|
LemonChiffon1 = 0xfffacd,
|
||||||
|
LemonChiffon2 = 0xeee9bf,
|
||||||
|
LemonChiffon3 = 0xcdc9a5,
|
||||||
|
LemonChiffon4 = 0x8b8970,
|
||||||
|
Cornsilk1 = 0xfff8dc,
|
||||||
|
Cornsilk2 = 0xeee8cd,
|
||||||
|
Cornsilk3 = 0xcdc8b1,
|
||||||
|
Cornsilk4 = 0x8b8878,
|
||||||
|
Ivory1 = 0xfffff0,
|
||||||
|
Ivory2 = 0xeeeee0,
|
||||||
|
Ivory3 = 0xcdcdc1,
|
||||||
|
Ivory4 = 0x8b8b83,
|
||||||
|
Honeydew1 = 0xf0fff0,
|
||||||
|
Honeydew2 = 0xe0eee0,
|
||||||
|
Honeydew3 = 0xc1cdc1,
|
||||||
|
Honeydew4 = 0x838b83,
|
||||||
|
LavenderBlush1 = 0xfff0f5,
|
||||||
|
LavenderBlush2 = 0xeee0e5,
|
||||||
|
LavenderBlush3 = 0xcdc1c5,
|
||||||
|
LavenderBlush4 = 0x8b8386,
|
||||||
|
MistyRose1 = 0xffe4e1,
|
||||||
|
MistyRose2 = 0xeed5d2,
|
||||||
|
MistyRose3 = 0xcdb7b5,
|
||||||
|
MistyRose4 = 0x8b7d7b,
|
||||||
|
Azure1 = 0xf0ffff,
|
||||||
|
Azure2 = 0xe0eeee,
|
||||||
|
Azure3 = 0xc1cdcd,
|
||||||
|
Azure4 = 0x838b8b,
|
||||||
|
SlateBlue1 = 0x836fff,
|
||||||
|
SlateBlue2 = 0x7a67ee,
|
||||||
|
SlateBlue3 = 0x6959cd,
|
||||||
|
SlateBlue4 = 0x473c8b,
|
||||||
|
RoyalBlue1 = 0x4876ff,
|
||||||
|
RoyalBlue2 = 0x436eee,
|
||||||
|
RoyalBlue3 = 0x3a5fcd,
|
||||||
|
RoyalBlue4 = 0x27408b,
|
||||||
|
Blue1 = 0x0000ff,
|
||||||
|
Blue2 = 0x0000ee,
|
||||||
|
Blue3 = 0x0000cd,
|
||||||
|
Blue4 = 0x00008b,
|
||||||
|
DodgerBlue1 = 0x1e90ff,
|
||||||
|
DodgerBlue2 = 0x1c86ee,
|
||||||
|
DodgerBlue3 = 0x1874cd,
|
||||||
|
DodgerBlue4 = 0x104e8b,
|
||||||
|
SteelBlue1 = 0x63b8ff,
|
||||||
|
SteelBlue2 = 0x5cacee,
|
||||||
|
SteelBlue3 = 0x4f94cd,
|
||||||
|
SteelBlue4 = 0x36648b,
|
||||||
|
DeepSkyBlue1 = 0x00bfff,
|
||||||
|
DeepSkyBlue2 = 0x00b2ee,
|
||||||
|
DeepSkyBlue3 = 0x009acd,
|
||||||
|
DeepSkyBlue4 = 0x00688b,
|
||||||
|
SkyBlue1 = 0x87ceff,
|
||||||
|
SkyBlue2 = 0x7ec0ee,
|
||||||
|
SkyBlue3 = 0x6ca6cd,
|
||||||
|
SkyBlue4 = 0x4a708b,
|
||||||
|
LightSkyBlue1 = 0xb0e2ff,
|
||||||
|
LightSkyBlue2 = 0xa4d3ee,
|
||||||
|
LightSkyBlue3 = 0x8db6cd,
|
||||||
|
LightSkyBlue4 = 0x607b8b,
|
||||||
|
SlateGray1 = 0xc6e2ff,
|
||||||
|
SlateGray2 = 0xb9d3ee,
|
||||||
|
SlateGray3 = 0x9fb6cd,
|
||||||
|
SlateGray4 = 0x6c7b8b,
|
||||||
|
LightSteelBlue1 = 0xcae1ff,
|
||||||
|
LightSteelBlue2 = 0xbcd2ee,
|
||||||
|
LightSteelBlue3 = 0xa2b5cd,
|
||||||
|
LightSteelBlue4 = 0x6e7b8b,
|
||||||
|
LightBlue1 = 0xbfefff,
|
||||||
|
LightBlue2 = 0xb2dfee,
|
||||||
|
LightBlue3 = 0x9ac0cd,
|
||||||
|
LightBlue4 = 0x68838b,
|
||||||
|
LightCyan1 = 0xe0ffff,
|
||||||
|
LightCyan2 = 0xd1eeee,
|
||||||
|
LightCyan3 = 0xb4cdcd,
|
||||||
|
LightCyan4 = 0x7a8b8b,
|
||||||
|
PaleTurquoise1 = 0xbbffff,
|
||||||
|
PaleTurquoise2 = 0xaeeeee,
|
||||||
|
PaleTurquoise3 = 0x96cdcd,
|
||||||
|
PaleTurquoise4 = 0x668b8b,
|
||||||
|
CadetBlue1 = 0x98f5ff,
|
||||||
|
CadetBlue2 = 0x8ee5ee,
|
||||||
|
CadetBlue3 = 0x7ac5cd,
|
||||||
|
CadetBlue4 = 0x53868b,
|
||||||
|
Turquoise1 = 0x00f5ff,
|
||||||
|
Turquoise2 = 0x00e5ee,
|
||||||
|
Turquoise3 = 0x00c5cd,
|
||||||
|
Turquoise4 = 0x00868b,
|
||||||
|
Cyan1 = 0x00ffff,
|
||||||
|
Cyan2 = 0x00eeee,
|
||||||
|
Cyan3 = 0x00cdcd,
|
||||||
|
Cyan4 = 0x008b8b,
|
||||||
|
DarkSlateGray1 = 0x97ffff,
|
||||||
|
DarkSlateGray2 = 0x8deeee,
|
||||||
|
DarkSlateGray3 = 0x79cdcd,
|
||||||
|
DarkSlateGray4 = 0x528b8b,
|
||||||
|
Aquamarine1 = 0x7fffd4,
|
||||||
|
Aquamarine2 = 0x76eec6,
|
||||||
|
Aquamarine3 = 0x66cdaa,
|
||||||
|
Aquamarine4 = 0x458b74,
|
||||||
|
DarkSeaGreen1 = 0xc1ffc1,
|
||||||
|
DarkSeaGreen2 = 0xb4eeb4,
|
||||||
|
DarkSeaGreen3 = 0x9bcd9b,
|
||||||
|
DarkSeaGreen4 = 0x698b69,
|
||||||
|
SeaGreen1 = 0x54ff9f,
|
||||||
|
SeaGreen2 = 0x4eee94,
|
||||||
|
SeaGreen3 = 0x43cd80,
|
||||||
|
SeaGreen4 = 0x2e8b57,
|
||||||
|
PaleGreen1 = 0x9aff9a,
|
||||||
|
PaleGreen2 = 0x90ee90,
|
||||||
|
PaleGreen3 = 0x7ccd7c,
|
||||||
|
PaleGreen4 = 0x548b54,
|
||||||
|
SpringGreen1 = 0x00ff7f,
|
||||||
|
SpringGreen2 = 0x00ee76,
|
||||||
|
SpringGreen3 = 0x00cd66,
|
||||||
|
SpringGreen4 = 0x008b45,
|
||||||
|
Green1 = 0x00ff00,
|
||||||
|
Green2 = 0x00ee00,
|
||||||
|
Green3 = 0x00cd00,
|
||||||
|
Green4 = 0x008b00,
|
||||||
|
Chartreuse1 = 0x7fff00,
|
||||||
|
Chartreuse2 = 0x76ee00,
|
||||||
|
Chartreuse3 = 0x66cd00,
|
||||||
|
Chartreuse4 = 0x458b00,
|
||||||
|
OliveDrab1 = 0xc0ff3e,
|
||||||
|
OliveDrab2 = 0xb3ee3a,
|
||||||
|
OliveDrab3 = 0x9acd32,
|
||||||
|
OliveDrab4 = 0x698b22,
|
||||||
|
DarkOliveGreen1 = 0xcaff70,
|
||||||
|
DarkOliveGreen2 = 0xbcee68,
|
||||||
|
DarkOliveGreen3 = 0xa2cd5a,
|
||||||
|
DarkOliveGreen4 = 0x6e8b3d,
|
||||||
|
Khaki1 = 0xfff68f,
|
||||||
|
Khaki2 = 0xeee685,
|
||||||
|
Khaki3 = 0xcdc673,
|
||||||
|
Khaki4 = 0x8b864e,
|
||||||
|
LightGoldenrod1 = 0xffec8b,
|
||||||
|
LightGoldenrod2 = 0xeedc82,
|
||||||
|
LightGoldenrod3 = 0xcdbe70,
|
||||||
|
LightGoldenrod4 = 0x8b814c,
|
||||||
|
LightYellow1 = 0xffffe0,
|
||||||
|
LightYellow2 = 0xeeeed1,
|
||||||
|
LightYellow3 = 0xcdcdb4,
|
||||||
|
LightYellow4 = 0x8b8b7a,
|
||||||
|
Yellow1 = 0xffff00,
|
||||||
|
Yellow2 = 0xeeee00,
|
||||||
|
Yellow3 = 0xcdcd00,
|
||||||
|
Yellow4 = 0x8b8b00,
|
||||||
|
Gold1 = 0xffd700,
|
||||||
|
Gold2 = 0xeec900,
|
||||||
|
Gold3 = 0xcdad00,
|
||||||
|
Gold4 = 0x8b7500,
|
||||||
|
Goldenrod1 = 0xffc125,
|
||||||
|
Goldenrod2 = 0xeeb422,
|
||||||
|
Goldenrod3 = 0xcd9b1d,
|
||||||
|
Goldenrod4 = 0x8b6914,
|
||||||
|
DarkGoldenrod1 = 0xffb90f,
|
||||||
|
DarkGoldenrod2 = 0xeead0e,
|
||||||
|
DarkGoldenrod3 = 0xcd950c,
|
||||||
|
DarkGoldenrod4 = 0x8b6508,
|
||||||
|
RosyBrown1 = 0xffc1c1,
|
||||||
|
RosyBrown2 = 0xeeb4b4,
|
||||||
|
RosyBrown3 = 0xcd9b9b,
|
||||||
|
RosyBrown4 = 0x8b6969,
|
||||||
|
IndianRed1 = 0xff6a6a,
|
||||||
|
IndianRed2 = 0xee6363,
|
||||||
|
IndianRed3 = 0xcd5555,
|
||||||
|
IndianRed4 = 0x8b3a3a,
|
||||||
|
Sienna1 = 0xff8247,
|
||||||
|
Sienna2 = 0xee7942,
|
||||||
|
Sienna3 = 0xcd6839,
|
||||||
|
Sienna4 = 0x8b4726,
|
||||||
|
Burlywood1 = 0xffd39b,
|
||||||
|
Burlywood2 = 0xeec591,
|
||||||
|
Burlywood3 = 0xcdaa7d,
|
||||||
|
Burlywood4 = 0x8b7355,
|
||||||
|
Wheat1 = 0xffe7ba,
|
||||||
|
Wheat2 = 0xeed8ae,
|
||||||
|
Wheat3 = 0xcdba96,
|
||||||
|
Wheat4 = 0x8b7e66,
|
||||||
|
Tan1 = 0xffa54f,
|
||||||
|
Tan2 = 0xee9a49,
|
||||||
|
Tan3 = 0xcd853f,
|
||||||
|
Tan4 = 0x8b5a2b,
|
||||||
|
Chocolate1 = 0xff7f24,
|
||||||
|
Chocolate2 = 0xee7621,
|
||||||
|
Chocolate3 = 0xcd661d,
|
||||||
|
Chocolate4 = 0x8b4513,
|
||||||
|
Firebrick1 = 0xff3030,
|
||||||
|
Firebrick2 = 0xee2c2c,
|
||||||
|
Firebrick3 = 0xcd2626,
|
||||||
|
Firebrick4 = 0x8b1a1a,
|
||||||
|
Brown1 = 0xff4040,
|
||||||
|
Brown2 = 0xee3b3b,
|
||||||
|
Brown3 = 0xcd3333,
|
||||||
|
Brown4 = 0x8b2323,
|
||||||
|
Salmon1 = 0xff8c69,
|
||||||
|
Salmon2 = 0xee8262,
|
||||||
|
Salmon3 = 0xcd7054,
|
||||||
|
Salmon4 = 0x8b4c39,
|
||||||
|
LightSalmon1 = 0xffa07a,
|
||||||
|
LightSalmon2 = 0xee9572,
|
||||||
|
LightSalmon3 = 0xcd8162,
|
||||||
|
LightSalmon4 = 0x8b5742,
|
||||||
|
Orange1 = 0xffa500,
|
||||||
|
Orange2 = 0xee9a00,
|
||||||
|
Orange3 = 0xcd8500,
|
||||||
|
Orange4 = 0x8b5a00,
|
||||||
|
DarkOrange1 = 0xff7f00,
|
||||||
|
DarkOrange2 = 0xee7600,
|
||||||
|
DarkOrange3 = 0xcd6600,
|
||||||
|
DarkOrange4 = 0x8b4500,
|
||||||
|
Coral1 = 0xff7256,
|
||||||
|
Coral2 = 0xee6a50,
|
||||||
|
Coral3 = 0xcd5b45,
|
||||||
|
Coral4 = 0x8b3e2f,
|
||||||
|
Tomato1 = 0xff6347,
|
||||||
|
Tomato2 = 0xee5c42,
|
||||||
|
Tomato3 = 0xcd4f39,
|
||||||
|
Tomato4 = 0x8b3626,
|
||||||
|
OrangeRed1 = 0xff4500,
|
||||||
|
OrangeRed2 = 0xee4000,
|
||||||
|
OrangeRed3 = 0xcd3700,
|
||||||
|
OrangeRed4 = 0x8b2500,
|
||||||
|
Red1 = 0xff0000,
|
||||||
|
Red2 = 0xee0000,
|
||||||
|
Red3 = 0xcd0000,
|
||||||
|
Red4 = 0x8b0000,
|
||||||
|
DeepPink1 = 0xff1493,
|
||||||
|
DeepPink2 = 0xee1289,
|
||||||
|
DeepPink3 = 0xcd1076,
|
||||||
|
DeepPink4 = 0x8b0a50,
|
||||||
|
HotPink1 = 0xff6eb4,
|
||||||
|
HotPink2 = 0xee6aa7,
|
||||||
|
HotPink3 = 0xcd6090,
|
||||||
|
HotPink4 = 0x8b3a62,
|
||||||
|
Pink1 = 0xffb5c5,
|
||||||
|
Pink2 = 0xeea9b8,
|
||||||
|
Pink3 = 0xcd919e,
|
||||||
|
Pink4 = 0x8b636c,
|
||||||
|
LightPink1 = 0xffaeb9,
|
||||||
|
LightPink2 = 0xeea2ad,
|
||||||
|
LightPink3 = 0xcd8c95,
|
||||||
|
LightPink4 = 0x8b5f65,
|
||||||
|
PaleVioletRed1 = 0xff82ab,
|
||||||
|
PaleVioletRed2 = 0xee799f,
|
||||||
|
PaleVioletRed3 = 0xcd6889,
|
||||||
|
PaleVioletRed4 = 0x8b475d,
|
||||||
|
Maroon1 = 0xff34b3,
|
||||||
|
Maroon2 = 0xee30a7,
|
||||||
|
Maroon3 = 0xcd2990,
|
||||||
|
Maroon4 = 0x8b1c62,
|
||||||
|
VioletRed1 = 0xff3e96,
|
||||||
|
VioletRed2 = 0xee3a8c,
|
||||||
|
VioletRed3 = 0xcd3278,
|
||||||
|
VioletRed4 = 0x8b2252,
|
||||||
|
Magenta1 = 0xff00ff,
|
||||||
|
Magenta2 = 0xee00ee,
|
||||||
|
Magenta3 = 0xcd00cd,
|
||||||
|
Magenta4 = 0x8b008b,
|
||||||
|
Orchid1 = 0xff83fa,
|
||||||
|
Orchid2 = 0xee7ae9,
|
||||||
|
Orchid3 = 0xcd69c9,
|
||||||
|
Orchid4 = 0x8b4789,
|
||||||
|
Plum1 = 0xffbbff,
|
||||||
|
Plum2 = 0xeeaeee,
|
||||||
|
Plum3 = 0xcd96cd,
|
||||||
|
Plum4 = 0x8b668b,
|
||||||
|
MediumOrchid1 = 0xe066ff,
|
||||||
|
MediumOrchid2 = 0xd15fee,
|
||||||
|
MediumOrchid3 = 0xb452cd,
|
||||||
|
MediumOrchid4 = 0x7a378b,
|
||||||
|
DarkOrchid1 = 0xbf3eff,
|
||||||
|
DarkOrchid2 = 0xb23aee,
|
||||||
|
DarkOrchid3 = 0x9a32cd,
|
||||||
|
DarkOrchid4 = 0x68228b,
|
||||||
|
Purple1 = 0x9b30ff,
|
||||||
|
Purple2 = 0x912cee,
|
||||||
|
Purple3 = 0x7d26cd,
|
||||||
|
Purple4 = 0x551a8b,
|
||||||
|
MediumPurple1 = 0xab82ff,
|
||||||
|
MediumPurple2 = 0x9f79ee,
|
||||||
|
MediumPurple3 = 0x8968cd,
|
||||||
|
MediumPurple4 = 0x5d478b,
|
||||||
|
Thistle1 = 0xffe1ff,
|
||||||
|
Thistle2 = 0xeed2ee,
|
||||||
|
Thistle3 = 0xcdb5cd,
|
||||||
|
Thistle4 = 0x8b7b8b,
|
||||||
|
Gray0 = 0x000000,
|
||||||
|
Grey0 = 0x000000,
|
||||||
|
Gray1 = 0x030303,
|
||||||
|
Grey1 = 0x030303,
|
||||||
|
Gray2 = 0x050505,
|
||||||
|
Grey2 = 0x050505,
|
||||||
|
Gray3 = 0x080808,
|
||||||
|
Grey3 = 0x080808,
|
||||||
|
Gray4 = 0x0a0a0a,
|
||||||
|
Grey4 = 0x0a0a0a,
|
||||||
|
Gray5 = 0x0d0d0d,
|
||||||
|
Grey5 = 0x0d0d0d,
|
||||||
|
Gray6 = 0x0f0f0f,
|
||||||
|
Grey6 = 0x0f0f0f,
|
||||||
|
Gray7 = 0x121212,
|
||||||
|
Grey7 = 0x121212,
|
||||||
|
Gray8 = 0x141414,
|
||||||
|
Grey8 = 0x141414,
|
||||||
|
Gray9 = 0x171717,
|
||||||
|
Grey9 = 0x171717,
|
||||||
|
Gray10 = 0x1a1a1a,
|
||||||
|
Grey10 = 0x1a1a1a,
|
||||||
|
Gray11 = 0x1c1c1c,
|
||||||
|
Grey11 = 0x1c1c1c,
|
||||||
|
Gray12 = 0x1f1f1f,
|
||||||
|
Grey12 = 0x1f1f1f,
|
||||||
|
Gray13 = 0x212121,
|
||||||
|
Grey13 = 0x212121,
|
||||||
|
Gray14 = 0x242424,
|
||||||
|
Grey14 = 0x242424,
|
||||||
|
Gray15 = 0x262626,
|
||||||
|
Grey15 = 0x262626,
|
||||||
|
Gray16 = 0x292929,
|
||||||
|
Grey16 = 0x292929,
|
||||||
|
Gray17 = 0x2b2b2b,
|
||||||
|
Grey17 = 0x2b2b2b,
|
||||||
|
Gray18 = 0x2e2e2e,
|
||||||
|
Grey18 = 0x2e2e2e,
|
||||||
|
Gray19 = 0x303030,
|
||||||
|
Grey19 = 0x303030,
|
||||||
|
Gray20 = 0x333333,
|
||||||
|
Grey20 = 0x333333,
|
||||||
|
Gray21 = 0x363636,
|
||||||
|
Grey21 = 0x363636,
|
||||||
|
Gray22 = 0x383838,
|
||||||
|
Grey22 = 0x383838,
|
||||||
|
Gray23 = 0x3b3b3b,
|
||||||
|
Grey23 = 0x3b3b3b,
|
||||||
|
Gray24 = 0x3d3d3d,
|
||||||
|
Grey24 = 0x3d3d3d,
|
||||||
|
Gray25 = 0x404040,
|
||||||
|
Grey25 = 0x404040,
|
||||||
|
Gray26 = 0x424242,
|
||||||
|
Grey26 = 0x424242,
|
||||||
|
Gray27 = 0x454545,
|
||||||
|
Grey27 = 0x454545,
|
||||||
|
Gray28 = 0x474747,
|
||||||
|
Grey28 = 0x474747,
|
||||||
|
Gray29 = 0x4a4a4a,
|
||||||
|
Grey29 = 0x4a4a4a,
|
||||||
|
Gray30 = 0x4d4d4d,
|
||||||
|
Grey30 = 0x4d4d4d,
|
||||||
|
Gray31 = 0x4f4f4f,
|
||||||
|
Grey31 = 0x4f4f4f,
|
||||||
|
Gray32 = 0x525252,
|
||||||
|
Grey32 = 0x525252,
|
||||||
|
Gray33 = 0x545454,
|
||||||
|
Grey33 = 0x545454,
|
||||||
|
Gray34 = 0x575757,
|
||||||
|
Grey34 = 0x575757,
|
||||||
|
Gray35 = 0x595959,
|
||||||
|
Grey35 = 0x595959,
|
||||||
|
Gray36 = 0x5c5c5c,
|
||||||
|
Grey36 = 0x5c5c5c,
|
||||||
|
Gray37 = 0x5e5e5e,
|
||||||
|
Grey37 = 0x5e5e5e,
|
||||||
|
Gray38 = 0x616161,
|
||||||
|
Grey38 = 0x616161,
|
||||||
|
Gray39 = 0x636363,
|
||||||
|
Grey39 = 0x636363,
|
||||||
|
Gray40 = 0x666666,
|
||||||
|
Grey40 = 0x666666,
|
||||||
|
Gray41 = 0x696969,
|
||||||
|
Grey41 = 0x696969,
|
||||||
|
Gray42 = 0x6b6b6b,
|
||||||
|
Grey42 = 0x6b6b6b,
|
||||||
|
Gray43 = 0x6e6e6e,
|
||||||
|
Grey43 = 0x6e6e6e,
|
||||||
|
Gray44 = 0x707070,
|
||||||
|
Grey44 = 0x707070,
|
||||||
|
Gray45 = 0x737373,
|
||||||
|
Grey45 = 0x737373,
|
||||||
|
Gray46 = 0x757575,
|
||||||
|
Grey46 = 0x757575,
|
||||||
|
Gray47 = 0x787878,
|
||||||
|
Grey47 = 0x787878,
|
||||||
|
Gray48 = 0x7a7a7a,
|
||||||
|
Grey48 = 0x7a7a7a,
|
||||||
|
Gray49 = 0x7d7d7d,
|
||||||
|
Grey49 = 0x7d7d7d,
|
||||||
|
Gray50 = 0x7f7f7f,
|
||||||
|
Grey50 = 0x7f7f7f,
|
||||||
|
Gray51 = 0x828282,
|
||||||
|
Grey51 = 0x828282,
|
||||||
|
Gray52 = 0x858585,
|
||||||
|
Grey52 = 0x858585,
|
||||||
|
Gray53 = 0x878787,
|
||||||
|
Grey53 = 0x878787,
|
||||||
|
Gray54 = 0x8a8a8a,
|
||||||
|
Grey54 = 0x8a8a8a,
|
||||||
|
Gray55 = 0x8c8c8c,
|
||||||
|
Grey55 = 0x8c8c8c,
|
||||||
|
Gray56 = 0x8f8f8f,
|
||||||
|
Grey56 = 0x8f8f8f,
|
||||||
|
Gray57 = 0x919191,
|
||||||
|
Grey57 = 0x919191,
|
||||||
|
Gray58 = 0x949494,
|
||||||
|
Grey58 = 0x949494,
|
||||||
|
Gray59 = 0x969696,
|
||||||
|
Grey59 = 0x969696,
|
||||||
|
Gray60 = 0x999999,
|
||||||
|
Grey60 = 0x999999,
|
||||||
|
Gray61 = 0x9c9c9c,
|
||||||
|
Grey61 = 0x9c9c9c,
|
||||||
|
Gray62 = 0x9e9e9e,
|
||||||
|
Grey62 = 0x9e9e9e,
|
||||||
|
Gray63 = 0xa1a1a1,
|
||||||
|
Grey63 = 0xa1a1a1,
|
||||||
|
Gray64 = 0xa3a3a3,
|
||||||
|
Grey64 = 0xa3a3a3,
|
||||||
|
Gray65 = 0xa6a6a6,
|
||||||
|
Grey65 = 0xa6a6a6,
|
||||||
|
Gray66 = 0xa8a8a8,
|
||||||
|
Grey66 = 0xa8a8a8,
|
||||||
|
Gray67 = 0xababab,
|
||||||
|
Grey67 = 0xababab,
|
||||||
|
Gray68 = 0xadadad,
|
||||||
|
Grey68 = 0xadadad,
|
||||||
|
Gray69 = 0xb0b0b0,
|
||||||
|
Grey69 = 0xb0b0b0,
|
||||||
|
Gray70 = 0xb3b3b3,
|
||||||
|
Grey70 = 0xb3b3b3,
|
||||||
|
Gray71 = 0xb5b5b5,
|
||||||
|
Grey71 = 0xb5b5b5,
|
||||||
|
Gray72 = 0xb8b8b8,
|
||||||
|
Grey72 = 0xb8b8b8,
|
||||||
|
Gray73 = 0xbababa,
|
||||||
|
Grey73 = 0xbababa,
|
||||||
|
Gray74 = 0xbdbdbd,
|
||||||
|
Grey74 = 0xbdbdbd,
|
||||||
|
Gray75 = 0xbfbfbf,
|
||||||
|
Grey75 = 0xbfbfbf,
|
||||||
|
Gray76 = 0xc2c2c2,
|
||||||
|
Grey76 = 0xc2c2c2,
|
||||||
|
Gray77 = 0xc4c4c4,
|
||||||
|
Grey77 = 0xc4c4c4,
|
||||||
|
Gray78 = 0xc7c7c7,
|
||||||
|
Grey78 = 0xc7c7c7,
|
||||||
|
Gray79 = 0xc9c9c9,
|
||||||
|
Grey79 = 0xc9c9c9,
|
||||||
|
Gray80 = 0xcccccc,
|
||||||
|
Grey80 = 0xcccccc,
|
||||||
|
Gray81 = 0xcfcfcf,
|
||||||
|
Grey81 = 0xcfcfcf,
|
||||||
|
Gray82 = 0xd1d1d1,
|
||||||
|
Grey82 = 0xd1d1d1,
|
||||||
|
Gray83 = 0xd4d4d4,
|
||||||
|
Grey83 = 0xd4d4d4,
|
||||||
|
Gray84 = 0xd6d6d6,
|
||||||
|
Grey84 = 0xd6d6d6,
|
||||||
|
Gray85 = 0xd9d9d9,
|
||||||
|
Grey85 = 0xd9d9d9,
|
||||||
|
Gray86 = 0xdbdbdb,
|
||||||
|
Grey86 = 0xdbdbdb,
|
||||||
|
Gray87 = 0xdedede,
|
||||||
|
Grey87 = 0xdedede,
|
||||||
|
Gray88 = 0xe0e0e0,
|
||||||
|
Grey88 = 0xe0e0e0,
|
||||||
|
Gray89 = 0xe3e3e3,
|
||||||
|
Grey89 = 0xe3e3e3,
|
||||||
|
Gray90 = 0xe5e5e5,
|
||||||
|
Grey90 = 0xe5e5e5,
|
||||||
|
Gray91 = 0xe8e8e8,
|
||||||
|
Grey91 = 0xe8e8e8,
|
||||||
|
Gray92 = 0xebebeb,
|
||||||
|
Grey92 = 0xebebeb,
|
||||||
|
Gray93 = 0xededed,
|
||||||
|
Grey93 = 0xededed,
|
||||||
|
Gray94 = 0xf0f0f0,
|
||||||
|
Grey94 = 0xf0f0f0,
|
||||||
|
Gray95 = 0xf2f2f2,
|
||||||
|
Grey95 = 0xf2f2f2,
|
||||||
|
Gray96 = 0xf5f5f5,
|
||||||
|
Grey96 = 0xf5f5f5,
|
||||||
|
Gray97 = 0xf7f7f7,
|
||||||
|
Grey97 = 0xf7f7f7,
|
||||||
|
Gray98 = 0xfafafa,
|
||||||
|
Grey98 = 0xfafafa,
|
||||||
|
Gray99 = 0xfcfcfc,
|
||||||
|
Grey99 = 0xfcfcfc,
|
||||||
|
Gray100 = 0xffffff,
|
||||||
|
Grey100 = 0xffffff,
|
||||||
|
DarkGrey = 0xa9a9a9,
|
||||||
|
DarkGray = 0xa9a9a9,
|
||||||
|
DarkBlue = 0x00008b,
|
||||||
|
DarkCyan = 0x008b8b,
|
||||||
|
DarkMagenta = 0x8b008b,
|
||||||
|
DarkRed = 0x8b0000,
|
||||||
|
LightGreen = 0x90ee90,
|
||||||
|
Crimson = 0xdc143c,
|
||||||
|
Indigo = 0x4b0082,
|
||||||
|
Olive = 0x808000,
|
||||||
|
RebeccaPurple = 0x663399,
|
||||||
|
Silver = 0xc0c0c0,
|
||||||
|
Teal = 0x008080,
|
||||||
|
};
|
||||||
186
ThirdParty/tracy-0.11/Profiler.cs
vendored
Normal file
186
ThirdParty/tracy-0.11/Profiler.cs
vendored
Normal file
@@ -0,0 +1,186 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using bottlenoselabs.C2CS.Runtime;
|
||||||
|
using static Tracy.PInvoke;
|
||||||
|
|
||||||
|
public static class Profiler
|
||||||
|
{
|
||||||
|
// Plot names need to be cached for the lifetime of the program
|
||||||
|
// seealso Tracy docs section 3.1
|
||||||
|
private static readonly Dictionary<string, CString> PlotNameCache = new Dictionary<string, CString>();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Begins a new <see cref="ProfilerZone"/> and returns the handle to that zone. Time
|
||||||
|
/// spent inside a zone is calculated by Tracy and shown in the profiler. A zone is
|
||||||
|
/// ended when <see cref="ProfilerZone.Dispose"/> is called either automatically via
|
||||||
|
/// disposal scope rules or by calling it manually.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="zoneName">A custom name for this zone.</param>
|
||||||
|
/// <param name="active">Is the zone active. An inactive zone wont be shown in the profiler.</param>
|
||||||
|
/// <param name="color">An <c>RRGGBB</c> color code that Tracy will use to color the zone in the profiler.</param>
|
||||||
|
/// <param name="text">Arbitrary text associated with this zone.</param>
|
||||||
|
/// <param name="lineNumber">
|
||||||
|
/// The source code line number that this zone begins at.
|
||||||
|
/// If this param is not explicitly assigned the value will provided by <see cref="CallerLineNumberAttribute"/>.
|
||||||
|
/// </param>
|
||||||
|
/// <param name="filePath">
|
||||||
|
/// The source code file path that this zone begins at.
|
||||||
|
/// If this param is not explicitly assigned the value will provided by <see cref="CallerFilePathAttribute"/>.
|
||||||
|
/// </param>
|
||||||
|
/// <param name="memberName">
|
||||||
|
/// The source code member name that this zone begins at.
|
||||||
|
/// If this param is not explicitly assigned the value will provided by <see cref="CallerMemberNameAttribute"/>.
|
||||||
|
/// </param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static ProfilerZone BeginZone(
|
||||||
|
string zoneName = null,
|
||||||
|
bool active = true,
|
||||||
|
uint color = 0,
|
||||||
|
string text = null,
|
||||||
|
[CallerLineNumber] uint lineNumber = 0,
|
||||||
|
[CallerFilePath] string filePath = null,
|
||||||
|
[CallerMemberName] string memberName = null)
|
||||||
|
{
|
||||||
|
using var filestr = GetCString(filePath, out var fileln);
|
||||||
|
using var memberstr = GetCString(memberName, out var memberln);
|
||||||
|
using var namestr = GetCString(zoneName, out var nameln);
|
||||||
|
var srcLocId = TracyAllocSrclocName(lineNumber, filestr, fileln, memberstr, memberln, namestr, nameln, color);
|
||||||
|
var context = TracyEmitZoneBeginAlloc(srcLocId, active ? 1 : 0);
|
||||||
|
|
||||||
|
if (text != null)
|
||||||
|
{
|
||||||
|
using var textstr = GetCString(text, out var textln);
|
||||||
|
TracyEmitZoneText(context, textstr, textln);
|
||||||
|
}
|
||||||
|
|
||||||
|
return new ProfilerZone(context);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Configure how Tracy will display plotted values.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="name">
|
||||||
|
/// Name of the plot to configure. Each <paramref name="name"/> represents a unique plot.
|
||||||
|
/// </param>
|
||||||
|
/// <param name="type">
|
||||||
|
/// Changes how the values in the plot are presented by the profiler.
|
||||||
|
/// </param>
|
||||||
|
/// <param name="step">
|
||||||
|
/// Determines whether the plot will be displayed as a staircase or will smoothly change between plot points
|
||||||
|
/// </param>
|
||||||
|
/// <param name="fill">
|
||||||
|
/// If <see langword="false"/> the the area below the plot will not be filled with a solid color.
|
||||||
|
/// </param>
|
||||||
|
/// <param name="color">
|
||||||
|
/// An <c>RRGGBB</c> color code that Tracy will use to color the plot in the profiler.
|
||||||
|
/// </param>
|
||||||
|
public static void PlotConfig(string name, PlotType type = PlotType.Number, bool step = false, bool fill = true, uint color = 0)
|
||||||
|
{
|
||||||
|
var namestr = GetPlotCString(name);
|
||||||
|
TracyEmitPlotConfig(namestr, (int)type, step ? 1 : 0, fill ? 1 : 0, color);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Add a <see langword="double"/> value to a plot.
|
||||||
|
/// </summary>
|
||||||
|
public static void Plot(string name, double val)
|
||||||
|
{
|
||||||
|
var namestr = GetPlotCString(name);
|
||||||
|
TracyEmitPlot(namestr, val);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Add a <see langword="float"/> value to a plot.
|
||||||
|
/// </summary>
|
||||||
|
public static void Plot(string name, int val)
|
||||||
|
{
|
||||||
|
var namestr = GetPlotCString(name);
|
||||||
|
TracyEmitPlotInt(namestr, val);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Add a <see langword="float"/> value to a plot.
|
||||||
|
/// </summary>
|
||||||
|
public static void Plot(string name, float val)
|
||||||
|
{
|
||||||
|
var namestr = GetPlotCString(name);
|
||||||
|
TracyEmitPlotFloat(namestr, val);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static CString GetPlotCString(string name)
|
||||||
|
{
|
||||||
|
if(!PlotNameCache.TryGetValue(name, out var plotCString))
|
||||||
|
{
|
||||||
|
plotCString = CString.FromString(name);
|
||||||
|
PlotNameCache.Add(name, plotCString);
|
||||||
|
}
|
||||||
|
return plotCString;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Emit a string that will be included along with the trace description.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Viewable in the Info tab in the profiler.
|
||||||
|
/// </remarks>
|
||||||
|
public static void AppInfo(string appInfo)
|
||||||
|
{
|
||||||
|
using var infostr = GetCString(appInfo, out var infoln);
|
||||||
|
TracyEmitMessageAppinfo(infostr, infoln);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Emit the top-level frame marker.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// Tracy Cpp API and docs refer to this as the <c>FrameMark</c> macro.
|
||||||
|
/// </remarks>
|
||||||
|
public static void EmitFrameMark()
|
||||||
|
{
|
||||||
|
TracyEmitFrameMark(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Is the app connected to the external profiler?
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static bool IsConnected()
|
||||||
|
{
|
||||||
|
return TracyConnected() != 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Creates a <seealso cref="CString"/> for use by Tracy. Also returns the
|
||||||
|
/// length of the string for interop convenience.
|
||||||
|
/// </summary>
|
||||||
|
public static CString GetCString(string? fromString, out ulong clength)
|
||||||
|
{
|
||||||
|
if (fromString == null)
|
||||||
|
{
|
||||||
|
clength = 0;
|
||||||
|
return new CString(0);
|
||||||
|
}
|
||||||
|
clength = (ulong)fromString.Length;
|
||||||
|
return CString.FromString(fromString);
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum PlotType
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Values will be displayed as plain numbers.
|
||||||
|
/// </summary>
|
||||||
|
Number = 0,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Treats the values as memory sizes. Will display kilobytes, megabytes, etc.
|
||||||
|
/// </summary>
|
||||||
|
Memory = 1,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Values will be displayed as percentage (with value 100 being equal to 100%).
|
||||||
|
/// </summary>
|
||||||
|
Percentage = 2,
|
||||||
|
}
|
||||||
|
}
|
||||||
38
ThirdParty/tracy-0.11/ProfilerZone.cs
vendored
Normal file
38
ThirdParty/tracy-0.11/ProfilerZone.cs
vendored
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
using System;
|
||||||
|
using static Tracy.PInvoke;
|
||||||
|
|
||||||
|
public readonly struct ProfilerZone : IDisposable
|
||||||
|
{
|
||||||
|
public readonly TracyCZoneCtx Context;
|
||||||
|
|
||||||
|
public uint Id => Context.Data.Id;
|
||||||
|
|
||||||
|
public int Active => Context.Data.Active;
|
||||||
|
|
||||||
|
internal ProfilerZone(TracyCZoneCtx context)
|
||||||
|
{
|
||||||
|
Context = context;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void EmitName(string name)
|
||||||
|
{
|
||||||
|
using var namestr = Profiler.GetCString(name, out var nameln);
|
||||||
|
TracyEmitZoneName(Context, namestr, nameln);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void EmitColor(uint color)
|
||||||
|
{
|
||||||
|
TracyEmitZoneColor(Context, color);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void EmitText(string text)
|
||||||
|
{
|
||||||
|
using var textstr = Profiler.GetCString(text, out var textln);
|
||||||
|
TracyEmitZoneText(Context, textstr, textln);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
TracyEmitZoneEnd(Context);
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
ThirdParty/tracy-0.11/Tracy.dll
vendored
Normal file
BIN
ThirdParty/tracy-0.11/Tracy.dll
vendored
Normal file
Binary file not shown.
BIN
ThirdParty/tracy-0.11/TracyClient.dll
vendored
Normal file
BIN
ThirdParty/tracy-0.11/TracyClient.dll
vendored
Normal file
Binary file not shown.
BIN
ThirdParty/tracy-0.11/c2cs.Tool.dll
vendored
Normal file
BIN
ThirdParty/tracy-0.11/c2cs.Tool.dll
vendored
Normal file
Binary file not shown.
BIN
ThirdParty/tracy-0.11/windows-0.11.1/tracy-capture.exe
vendored
Normal file
BIN
ThirdParty/tracy-0.11/windows-0.11.1/tracy-capture.exe
vendored
Normal file
Binary file not shown.
BIN
ThirdParty/tracy-0.11/windows-0.11.1/tracy-csvexport.exe
vendored
Normal file
BIN
ThirdParty/tracy-0.11/windows-0.11.1/tracy-csvexport.exe
vendored
Normal file
Binary file not shown.
BIN
ThirdParty/tracy-0.11/windows-0.11.1/tracy-import-chrome.exe
vendored
Normal file
BIN
ThirdParty/tracy-0.11/windows-0.11.1/tracy-import-chrome.exe
vendored
Normal file
Binary file not shown.
BIN
ThirdParty/tracy-0.11/windows-0.11.1/tracy-import-fuchsia.exe
vendored
Normal file
BIN
ThirdParty/tracy-0.11/windows-0.11.1/tracy-import-fuchsia.exe
vendored
Normal file
Binary file not shown.
BIN
ThirdParty/tracy-0.11/windows-0.11.1/tracy-profiler.exe
vendored
Normal file
BIN
ThirdParty/tracy-0.11/windows-0.11.1/tracy-profiler.exe
vendored
Normal file
Binary file not shown.
BIN
ThirdParty/tracy-0.11/windows-0.11.1/tracy-update.exe
vendored
Normal file
BIN
ThirdParty/tracy-0.11/windows-0.11.1/tracy-update.exe
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user