Struct ImageFilters.BlitParams
Parameters for blitting textures.
Inherited Members
Namespace: Unity.XR.CompositionLayers .Rendering
Assembly: Unity.XR.CompositionLayers.dll
Syntax
public struct ImageFilters.BlitParams
Constructors
BlitParams(Texture)
Initializes a new instance of the Image
Declaration
public BlitParams(Texture sourceTexture)
Parameters
Type | Name | Description |
---|---|---|
Texture | sourceTexture | The source texture to blit. |
BlitParams(Texture, int)
Initializes a new instance of the Image
Declaration
public BlitParams(Texture sourceTexture, int sourceTextureArraySlice)
Parameters
Type | Name | Description |
---|---|---|
Texture | sourceTexture | The source texture to blit. |
int | sourceTextureArraySlice | The array slice of the source texture. |
Fields
alphaMode
The alpha blending mode.
Declaration
public ImageFilters.AlphaMode alphaMode
Field Value
Type | Description |
---|---|
Image |
destRect
The destination rectangle.
Declaration
public Rect destRect
Field Value
Type | Description |
---|---|
Rect |
foveatedRenderingInfo
The foveated rendering information.
Declaration
public IntPtr foveatedRenderingInfo
Field Value
Type | Description |
---|---|
Int |
renderPipeline
The render pipeline used.
Declaration
public ImageFilters.RenderPipeline renderPipeline
Field Value
Type | Description |
---|---|
Image |
sourceHdrParams
The HDR parameters for the source texture.
Declaration
public ImageFilters.HDRParams sourceHdrParams
Field Value
Type | Description |
---|---|
Image |
sourceRect
The source rectangle.
Declaration
public Rect sourceRect
Field Value
Type | Description |
---|---|
Rect |
sourceTexture
The source texture to blit.
Declaration
public Texture sourceTexture
Field Value
Type | Description |
---|---|
Texture |
sourceTextureArraySlice
The array slice of the source texture.
Declaration
public int sourceTextureArraySlice
Field Value
Type | Description |
---|---|
int |
Methods
ToString()
Returns a string representation of the blit parameters.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string describing the blit parameters. |