Class ImageFilters
Provides image filtering and blitting functionalities for composition layers in XR applications.
Inherited Members
Namespace: Unity.XR.CompositionLayers .Rendering
Assembly: Unity.XR.CompositionLayers.dll
Syntax
public static class ImageFilters
Methods
BeginBatch()
Begins a batch of image operations.
Declaration
public static void BeginBatch()
Blit(in BlitParams, in TargetParams)
Blits the specified source texture to the target using the given parameters.
Declaration
public static void Blit(in ImageFilters.BlitParams blitParam, in ImageFilters.TargetParams targetParams)
Parameters
Type | Name | Description |
---|---|---|
Image |
blitParam | Parameters for the blit operation. |
Image |
targetParams | Parameters for the blit target. |
Blit(CommandBuffer, in BlitParams, int)
Blits the specified source texture to the target display using the given parameters.
Declaration
public static void Blit(CommandBuffer cmd, in ImageFilters.BlitParams blitParam, int targetDisplay)
Parameters
Type | Name | Description |
---|---|---|
Command |
cmd | The command buffer to use. |
Image |
blitParam | Parameters for the blit operation. |
int | targetDisplay | The target display index. |
Blit(CommandBuffer, in BlitParams, in TargetParams)
Blits the specified source texture to the target using the given parameters.
Declaration
public static void Blit(CommandBuffer cmd, in ImageFilters.BlitParams blitParam, in ImageFilters.TargetParams targetParams)
Parameters
Type | Name | Description |
---|---|---|
Command |
cmd | The command buffer to use. |
Image |
blitParam | Parameters for the blit operation. |
Image |
targetParams | Parameters for the blit target. |
BlitMirrorView(CommandBuffer, in MirrorViewParams)
Blits the mirror view using the specified parameters.
Declaration
public static void BlitMirrorView(CommandBuffer cmd, in ImageFilters.MirrorViewParams mirrorViewParams)
Parameters
Type | Name | Description |
---|---|---|
Command |
cmd | The command buffer to use. |
Image |
mirrorViewParams | Parameters for the mirror view blit operation. |
EndBatch()
Ends a batch of image operations and executes the command buffer.
Declaration
public static void EndBatch()