MediaOutputTextureInterface Class Reference

#include <mediasession_output.h>

Inheritance diagram for MediaOutputTextureInterface:

Detailed Description

The MediaOutputInterface class provides an specific implementation to provide output data to a given destination.

Public Member Functions

MAXON_METHOD Result< void > SetOutputTexture (const ImageTextureRef &textureRef, const Class< ImagePixelStorage > &pixelStorageClass)
 

Private Member Functions

 MAXON_INTERFACE (MediaOutputTextureInterface, MAXON_REFERENCE_NORMAL, "net.maxon.image.interface.mediaoutputtexture")
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( MediaOutputTextureInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxon.image.interface.mediaoutputtexture"   
)
private

◆ SetOutputTexture()

MAXON_METHOD Result<void> SetOutputTexture ( const ImageTextureRef &  textureRef,
const Class< ImagePixelStorage > &  pixelStorageClass 
)

Sets the output texture link.

Parameters
[in]textureRefTarget texture to load the media data into.
[in]pixelStorageClassDefines the storage class how newly created layers/images should store their pixel data (e.g. ImagePixelStorageClasses::Voxel).