Class BarracudaTextureUtils | Barracuda | 1.1.2-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class BarracudaTextureUtils

    Inheritance
    Object
    BarracudaTextureUtils
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Barracuda
    Syntax
    [Obsolete("Use Tensor.ToRenderTexture method instead.", false)]
    public class BarracudaTextureUtils

    Methods

    TensorToRenderTexture(Tensor, Int32, Int32, Single, Single)

    Declaration
    public static RenderTexture TensorToRenderTexture(Tensor x, int batch = 0, int fromChannel = 0, float scale = 1F, float bias = 0F)
    Parameters
    Type Name Description
    Tensor x
    Int32 batch
    Int32 fromChannel
    Single scale
    Single bias
    Returns
    Type Description
    RenderTexture

    TensorToRenderTexture(Tensor, RenderTexture, Int32, Int32, Single, Single)

    Declaration
    public static void TensorToRenderTexture(Tensor x, RenderTexture target, int batch = 0, int fromChannel = 0, float scale = 1F, float bias = 0F)
    Parameters
    Type Name Description
    Tensor x
    RenderTexture target
    Int32 batch
    Int32 fromChannel
    Single scale
    Single bias
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 15 October 2020