gi-gstvideo-1.0.23: GStreamerVideo bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.GstVideo.Structs.VideoGLTextureUploadMeta

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

Methods

Overloaded 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

parent Meta

getVideoGLTextureUploadMetaMeta :: MonadIO m => VideoGLTextureUploadMeta -> m Meta Source #

Get the value of the “meta” field. When overloading is enabled, this is equivalent to

get videoGLTextureUploadMeta #meta

nTextures

Number of textures that are generated

getVideoGLTextureUploadMetaNTextures :: MonadIO m => VideoGLTextureUploadMeta -> m Word32 Source #

Get the value of the “n_textures” field. When overloading is enabled, this is equivalent to

get videoGLTextureUploadMeta #nTextures

setVideoGLTextureUploadMetaNTextures :: MonadIO m => VideoGLTextureUploadMeta -> Word32 -> m () Source #

Set the value of the “n_textures” field. When overloading is enabled, this is equivalent to

set videoGLTextureUploadMeta [ #nTextures := value ]

textureOrientation

Orientation of the textures

getVideoGLTextureUploadMetaTextureOrientation :: MonadIO m => VideoGLTextureUploadMeta -> m VideoGLTextureOrientation Source #

Get the value of the “texture_orientation” field. When overloading is enabled, this is equivalent to

get videoGLTextureUploadMeta #textureOrientation

setVideoGLTextureUploadMetaTextureOrientation :: MonadIO m => VideoGLTextureUploadMeta -> VideoGLTextureOrientation -> m () Source #

Set the value of the “texture_orientation” field. When overloading is enabled, this is equivalent to

set videoGLTextureUploadMeta [ #textureOrientation := value ]