Class BarracudaTextureUtils
Inheritance
BarracudaTextureUtils
Syntax
[Obsolete("Use Tensor.ToRenderTexture method instead.", false)]
public class BarracudaTextureUtils
Methods
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
TensorToRenderTexture(Tensor, Int32, Int32, Single, Single)
Create a RenderTexture from a slice/batch of a tensor.
Declaration
public static RenderTexture TensorToRenderTexture(Tensor x, int batch = 0, int fromChannel = 0, float scale = 1F, float bias = 0F)
Parameters
Returns
Type |
Description |
RenderTexture |
|