gi-gstvideo-1.0.12: GStreamerVideo bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GstVideo.Structs.VideoGLTextureUploadMeta

Contents

Description

Extra buffer metadata for uploading a buffer to an OpenGL texture ID. The caller of videoGLTextureUploadMetaUpload must have OpenGL set up and call this from a thread where it is valid to upload something to an OpenGL texture.

Synopsis

Exported types

newtype VideoGLTextureUploadMeta Source #

Methods

getInfo

videoGLTextureUploadMetaGetInfo :: (HasCallStack, MonadIO m) => m MetaInfo Source #

No description available in the introspection data.

upload

videoGLTextureUploadMetaUpload Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoGLTextureUploadMeta

meta: a VideoGLTextureUploadMeta

-> Word32

textureId: the texture IDs to upload to

-> m Bool

Returns: True if uploading succeeded, False otherwise.

Uploads the buffer which owns the meta to a specific texture ID.

Properties

meta

nTextures

textureOrientation