public SemanticSegmentationPass(Camera targetCamera, RenderTexture targetTexture, SemanticSegmentationLabelConfig semanticSegmentationLabelConfig)
 {
     this.targetTexture = targetTexture;
     this.semanticSegmentationLabelConfig = semanticSegmentationLabelConfig;
     this.targetCamera = targetCamera;
     EnsureInit();
 }
 public SemanticSegmentationUrpPass(Camera camera, RenderTexture targetTexture, SemanticSegmentationLabelConfig labelConfig)
 {
     m_SemanticSegmentationCrossPipelinePass = new SemanticSegmentationCrossPipelinePass(camera, labelConfig);
     ConfigureTarget(targetTexture, targetTexture.depthBuffer);
     m_SemanticSegmentationCrossPipelinePass.Setup();
 }
 public SemanticSegmentationCrossPipelinePass(Camera targetCamera, SemanticSegmentationLabelConfig labelConfig) : base(targetCamera)
 {
     this.m_LabelConfig = labelConfig;
 }
 /// <summary>
 /// Creates a new SemanticSegmentationLabeler with the given <see cref="SemanticSegmentationLabelConfig"/>.
 /// </summary>
 /// <param name="labelConfig">The label config associating labels with colors.</param>
 /// <param name="targetTextureOverride">Override the target texture of the labeler. Will be reformatted on startup.</param>
 public SemanticSegmentationLabeler(SemanticSegmentationLabelConfig labelConfig, RenderTexture targetTextureOverride = null)
 {
     this.labelConfig             = labelConfig;
     this.m_TargetTextureOverride = targetTextureOverride;
 }