Class TexturePadding
Inheritance
System.Object
TexturePadding
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.Experimental.Rendering
Syntax
public class TexturePadding
Constructors
TexturePadding(ComputeShader)
Declaration
public TexturePadding(ComputeShader cs)
Parameters
Type | Name | Description |
---|---|---|
ComputeShader | cs |
Methods
Pad(CommandBuffer, RenderTexture, RectInt, RectInt)
Declaration
public void Pad(CommandBuffer cmd, RenderTexture inOutTexture, RectInt from, RectInt to)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | |
RenderTexture | inOutTexture | |
RectInt | from | |
RectInt | to |