Class TextureConverter
Provides methods for converting between textures and tensors.
Inherited Members
Namespace: Unity.Sentis
Assembly: solution.dll
Syntax
public static class TextureConverter
Methods
Name | Description |
---|---|
RenderToScreen(TensorFloat, TextureTransform) | Write the float data in a tensor to the frame buffer. Sentis only writes batch == 0 to the frame buffer. If the width and height of the tensor don't match the width and height of the frame buffer, Sentis applies linear resampling. |
RenderToScreen(CommandBuffer, TensorFloat, TextureTransform) | Appends the write the float data in a tensor to the frame buffer texture in a CommandBuffer. Sentis only writes batch == 0 to the frame buffer. If the width and height of the tensor don't match the width and height of the frame buffer, Sentis applies linear resampling. |
RenderToScreen(CommandBuffer, TensorFloat, RenderTargetIdentifier, TextureTransform) | Appends the write the float data in a tensor to the render target identifier in a CommandBuffer. Sentis only writes batch == 0 to the frame buffer. If the width and height of the tensor don't match the width and height of the frame buffer, Sentis applies linear resampling. |
RenderToTexture(TensorFloat, RenderTexture, TextureTransform) | Write the float data in a tensor to a render texture. Sentis only writes batch == 0 to the render texture. If the width and height of the tensor don't match the width and height of the render texture, Sentis applies linear resampling. |
RenderToTexture(CommandBuffer, TensorFloat, RenderTexture, TextureTransform) | Appends the write the float data in a tensor to a render texture in a CommandBuffer. Sentis only writes batch == 0 to the render texture. If the width and height of the tensor don't match the width and height of the render texture, Sentis applies linear resampling. |
ToTensor(CommandBuffer, RenderTargetIdentifier, TensorFloat, TextureTransform) | Appends the conversion of a RenderTargetIdentifier to a If the width and height of the output tensor don't match the width and height of the texture, Sentis applies linear resampling. |
ToTensor(CommandBuffer, RenderTargetIdentifier, TextureTransform) | Appends the conversion of a RenderTargetIdentifier to a If the width and height of the output tensor don't match the width and height of the texture, Sentis applies linear resampling. |
ToTensor(CommandBuffer, Texture, int, int, int) | Appends the conversion of a texture to a If the width and height of the output tensor don't match the width and height of the texture, Sentis applies linear resampling. |
ToTensor(CommandBuffer, Texture, TensorFloat, TextureTransform) | Appends the conversion of a texture to a If the width and height of the output tensor don't match the width and height of the texture, Sentis applies linear resampling. |
ToTensor(CommandBuffer, Texture, TextureTransform) | Appends the conversion of a texture to a If the width and height of the output tensor don't match the width and height of the texture, Sentis applies linear resampling. |
ToTensor(Texture, int, int, int) | Converts a texture to a If the width and height of the output tensor don't match the width and height of the texture, Sentis applies linear resampling. |
ToTensor(Texture, TensorFloat, TextureTransform) | Converts a texture to a If the width and height of the output tensor don't match the width and height of the texture, Sentis applies linear resampling. |
ToTensor(Texture, TextureTransform) | Converts a texture to a If the width and height of the output tensor don't match the width and height of the texture, Sentis applies linear resampling. |
ToTexture(TensorFloat, int, int, int, bool) | Converts the data in a tensor to a render texture. Sentis only writes batch == 0 to the render texture. If the width and height of the render texture don't match the width and height of the tensor, Sentis applies linear resampling. |
ToTexture(TensorFloat, TextureTransform) | Converts the data in a tensor to a render texture. Sentis only writes batch == 0 to the render texture. If the width and height of the output tensor don't match the width and height of the texture, Sentis applies linear resampling. |
ToTexture(CommandBuffer, TensorFloat, int, int, int, bool) | Appends the convertion of the data in a tensor to a render texture to a CommandBuffer. Sentis only writes batch == 0 to the render texture. If the width and height of the render texture don't match the width and height of the tensor, Sentis applies linear resampling. |
ToTexture(CommandBuffer, TensorFloat, TextureTransform) | Appends the conversion of the data in a tensor to a render texture in a CommandBuffer. Sentis only writes batch == 0 to the render texture. If the width and height of the output tensor don't match the width and height of the texture, Sentis applies linear resampling. |