Class VideoTexture
- Namespace
- Bonsai.Shaders.Configuration
- Assembly
- Bonsai.Shaders.dll
Provides configuration and loading functionality for initializing streaming texture sequences from a movie file.
public class VideoTexture : ImageSequence, IResourceConfiguration
- Inheritance
-
VideoTexture
- Implements
- Inherited Members
Properties
BufferLength
Gets or sets the size of the pre-loading buffer for video frames.
public int? BufferLength { get; set; }
Property Value
- int?
Methods
CreateResource(ResourceManager)
Creates a new instance of the Texture class providing support for streaming texture data from a movie file.
public override Texture CreateResource(ResourceManager resourceManager)
Parameters
resourceManager
ResourceManagerThe ResourceManager object onto which this resource will be loaded. The resource manager can be accessed to load additional resource dependencies which may be required to create the new resource.
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.