Struct ImageFilters.TargetParams
Parameters for the blit target.
Inherited Members
Namespace: Unity.XR.CompositionLayers.Rendering
Assembly: Unity.XR.CompositionLayers.dll
Syntax
public struct ImageFilters.TargetParams
Constructors
TargetParams(int)
Initializes a new instance of the ImageFilters.TargetParams struct with the specified target display.
Declaration
public TargetParams(int targetDisplay)
Parameters
| Type | Name | Description |
|---|---|---|
| int | targetDisplay | The target display index. |
TargetParams(RenderTexture)
Initializes a new instance of the ImageFilters.TargetParams struct with the specified render target.
Declaration
public TargetParams(RenderTexture renderTarget)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTexture | renderTarget | The render target texture. |
Fields
hdrParams
The HDR parameters for the target.
Declaration
public ImageFilters.HDRParams hdrParams
Field Value
| Type | Description |
|---|---|
| ImageFilters.HDRParams |
renderTarget
The render target texture.
Declaration
public RenderTexture renderTarget
Field Value
| Type | Description |
|---|---|
| RenderTexture |
targetDisplay
The target display index.
Declaration
public int targetDisplay
Field Value
| Type | Description |
|---|---|
| int |
Methods
ToString()
Returns a string representation of the target parameters.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string describing the target parameters. |