TextureLoader

abstract class TextureLoader

Allows to bypass default GL texture loading step when rendering a stream using GsdkStreamView.

Client code must specify dimensions for the GL texture that the renderer will provide. Then, for each frame to be rendered, loadTexture will be called; client code must override this callback to fill the GL texture according to its needs. The renderer will then scale, pad and render the loaded texture as appropriate.

Types

Link copied to clipboard
interface FrameContext
Contextual information on a frame.
Link copied to clipboard
interface TextureContext
Contextual information on the texture.
Link copied to clipboard
Allows to specify GL texture dimensions.

Functions

Link copied to clipboard
Retrieves configured texture specification.
Link copied to clipboard
Loads GL texture.