Interface ITextureProducer
- Namespace
- RenderHeads.Media.AVProVideo
- Assembly
- AVProVideo.Runtime.dll
public interface ITextureProducer
Methods
| Name | Description |
|---|---|
| GetAffineTransform() | The affine transform of the texture as an array of six floats: [a, b, c, d, tx, ty]. |
| GetCompatibleRenderTextureFormat(GetCompatibleRenderTextureFormatOptions, int) | Get a render texture format that is compatible with the textures internal format |
| GetTexture(int) | Returns the Unity texture containing the current frame image. The texture pointer will return null while the video is loading This texture usually remains the same for the duration of the video. There are cases when this texture can change, for instance: if the graphics device is recreated, a new video is loaded, or if an adaptive stream (eg HLS) is used and it switches video streams. |
| GetTextureAlphaPacking() | Returns the type of packing used for alpha content |
| GetTextureCount() | Gets the number of textures produced by the media player. |
| GetTextureFrameCount() | Returns a count of how many times the texture has been updated |
| GetTextureMatrix() | The full 4x4 transform of the texture |
| GetTexturePixelAspectRatio() | Returns the DAR/SAR ratio |
| GetTextureStereoPacking() | Returns the type of packing used for stereo content |
| GetTextureTimeStamp() | Returns the presentation time stamp of the current texture |
| GetTextureTransparency() | Returns the whether the texture has transparency |
| GetYpCbCrTransform() | Returns the current transformation required to convert from YpCbCr to RGB colorspaces. |
| RequiresVerticalFlip() | Returns true if the image on the texture is upside-down |
| SupportsTextureFrameCount() | Returns whether this platform supports counting the number of times the texture has been updated |