MFFrameCreateFromTexture Method (MFactoryClass)
media propertoes
D3D texture object
amount of audio samples
a pointer to audio data
result MFFrame object
additional properties
Creates a MFFrame object from D3D texture
Syntax
Public Overridable Sub MFFrameCreateFromTexture( _
   ByRef _pAVProps As M_AV_PROPS, _
   ByVal _pD3DTexture2D As Object, _
   ByVal _lAudioSamples As Integer, _
   ByVal _lpAudio As Long, _
   ByRef _ppFrame As IMFFrame, _
   ByVal _bsPropsList As String _
) 
public virtual void MFFrameCreateFromTexture( 
   ref M_AV_PROPS _pAVProps,
   object _pD3DTexture2D,
   int _lAudioSamples,
   long _lpAudio,
   out IMFFrame _ppFrame,
   string _bsPropsList
)
public procedure MFFrameCreateFromTexture( 
   var  _pAVProps: M_AV_PROPS;
    _pD3DTexture2D: TObject;
    _lAudioSamples: Integer;
    _lpAudio: Int64;
   Out  _ppFrame: IMFFrame;
    _bsPropsList: String
); virtual; 
public: virtual void MFFrameCreateFromTexture( 
   ref M_AV_PROPS _pAVProps,
   IUnknown* _pD3DTexture2D,
   int _lAudioSamples,
   long _lpAudio,
   [PARAMFLAG::Out] IMFFrame* _ppFrame,
   BSTR* _bsPropsList
) 

Parameters

_pAVProps
media propertoes
_pD3DTexture2D
D3D texture object
_lAudioSamples
amount of audio samples
_lpAudio
a pointer to audio data
_ppFrame
result MFFrame object
_bsPropsList
additional properties
See Also

Reference

MFactoryClass Class
MFactoryClass Members