gi-gstvideo-1.0.28: GStreamerVideo bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
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

Click to display all available methods, including inherited ones

Expand

Methods

upload.

Getters

None.

Setters

None.

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 ]