docs.unity3d.com
  • Manual
  • Scripting API
  • Changelog
  • License
Show / Hide Table of Contents
    • AddCollectorMenuAttribute
    • CameraGrab_Editor
    • CaptureCollector
    • JpegEncoder
    • JpegEncoder.Flags
    • JpegEncoder.PixelFormat
    • JpegEncoder.SubSample
    • PngEncoder
    • PngEncoder.ColorType
    • PngEncoder.PngParam
  • Unity.Simulation
    • AggregatedSample
    • AggregationEvent
    • ArrayCast
    • ArrayUtilities
    • AsyncRequest
    • AsyncRequest.ExecutionContext
    • AsyncRequest.Result
    • AsyncRequest.State
    • AsyncRequest<T>
    • BaseDataConsumer<T>
    • BaseDataConsumer<T>.Uploadable
    • BaseLogger
    • BatchReadback
    • CameraGrab
    • CaptureCamera
    • CaptureCamera.CaptureState
    • CaptureCamera.Channel
    • CaptureCamera.ReadbackCompletionDelegate
    • CaptureCamera.RequestCompletionDelegate
    • CaptureGPUBuffer
    • CaptureImageEncoder
    • CaptureImageEncoder.ImageFormat
    • CaptureOptions
    • CaptureRenderTexture
    • Category
    • ChannelGrab
    • ChunkedStream
    • CollectorBase
    • CollectorBase.ConsumeCollectorReport
    • CollectorElement
    • CollectorsBaseEditor
    • CollectorsList
    • ContentType
    • ContinuousEvents
    • ContinuousEvents.EventCollectionDelegate
    • ContinuousEvents.EventDispatchDelegate
    • CoreProfilerUtils
    • CounterEvent
    • CounterEventData
    • DXChunkedStream
    • DXFile
    • DXFormat
    • DXManager
    • DXTimeLogger
    • DataCapturePaths
    • DepthGrab
    • DirectoryNameComponent
    • Dispatcher
    • EventBase
    • ExecUtility
    • ExitPlaymode
    • ExtensionNameComponent
    • FileNameComponent
    • FileProducer
    • ForceFlip
    • Format
    • FrameCountCondition
    • FrameLimit
    • FrameNumberNameComponent
    • GeneralUtilities
    • GraphicsUtilities
    • ICondition
    • IDataProduced
    • IGlobalProfilerDataDispatcher
    • IgnoreCollectorAttribute
    • LabelNameComponent
    • LambdaJob
    • LambdaJob.DelegateType
    • Log
    • Log.Level
    • Logger
    • LoggerSuffixOption
    • Manager
    • Manager.NotificationDelegate
    • Manager.TickDelegate
    • NameComponent
    • NameGenerator
    • Options
    • PackageImportTests
    • PathUtility
    • PerfStatsManager
    • PlayerResolution
    • PlayerResolutionSettings
    • ProfilerManager
    • ProfilerProperties
    • ProfilerReport
    • ProfilerSamplingEvent
    • ReadbackRequest
    • RenderPassCallbackDelegate
    • RenderingPipelineType
    • ReportingUtils
    • SRPSupport
    • Sample
    • SampleProfilerCollector
    • ScreenCapture
    • SequenceNameComponent
    • SequencedPathName
    • SimSecondsCondition
    • SimulationProfiler
    • SimulationProfilerBase
    • SimulationProfilerEditor
    • TestUtility
    • ThreadUtility
    • TimeLimit
    • TimeLogger
    • TimeScale
    • TimeScaleEditor
    • TimeUtility
    • Timer
    • TimerSource
    • TimestampNameComponent
    • URPCallbackPass
    • URPCaptureRendererFeature
    • UnityVersion
    • WallSecondsCondition

Class SRPSupport

Inheritance
object
SRPSupport
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Unity.Simulation
Assembly: Unity.Simulation.Capture.dll
Syntax
public class SRPSupport

Properties

URPCameraDepthEnabled

Declaration
public bool URPCameraDepthEnabled { get; }
Property Value
Type Description
bool

URPRendererFeatureAdded

Declaration
public bool URPRendererFeatureAdded { get; }
Property Value
Type Description
bool

instance

Declaration
public static SRPSupport instance { get; protected set; }
Property Value
Type Description
SRPSupport

Methods

AddRendererFeatureIfNotPresent(ScriptableRendererFeature)

Declaration
public void AddRendererFeatureIfNotPresent(ScriptableRendererFeature feature)
Parameters
Type Name Description
ScriptableRendererFeature feature

FindRendererFeatureType(Type)

Declaration
public ScriptableRendererFeature FindRendererFeatureType(Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
ScriptableRendererFeature

GetCurrentPipelineRenderingType()

Get Current Rendering Pipeline type.

Declaration
public static RenderingPipelineType GetCurrentPipelineRenderingType()
Returns
Type Description
RenderingPipelineType

RenderingPipelineType indicating type of current renering pipeline : (URP/HDRP/Built-in)

GetScriptableRendererFeatures()

Declaration
public List<ScriptableRendererFeature> GetScriptableRendererFeatures()
Returns
Type Description
List<ScriptableRendererFeature>

QueueCameraRequest(Camera, AsyncRequest<CaptureState>)

With different rendering pipelines, the moment when you need to capture a camera migh be different. This method will allow for the CaptureCamera class to operate as normal, while allowing the author of the render pipeline to decide when the work get dispatched.

Declaration
public void QueueCameraRequest(Camera camera, AsyncRequest<CaptureCamera.CaptureState> request)
Parameters
Type Name Description
Camera camera

The camera that you wish to queue a request for.

AsyncRequest<CaptureCamera.CaptureState> request

The request you are queueing for this camera.

RemoveRendererFeatureIfPresent(ScriptableRendererFeature)

Declaration
public void RemoveRendererFeatureIfPresent(ScriptableRendererFeature feature)
Parameters
Type Name Description
ScriptableRendererFeature feature

UsingCustomRenderPipeline()

Returns true if using a custom render pipeline or false otherwise.

Declaration
public static bool UsingCustomRenderPipeline()
Returns
Type Description
bool

bool

In This Article
Back to top
Copyright © 2026 Unity Technologies — Trademarks and terms of use
  • Legal
  • Privacy Policy
  • Cookie Policy
  • Do Not Sell or Share My Personal Information