GetTexture method
The GetTexture method retrieves an IDirect3DTexture9 interface from an IBuffer interface.
Syntax
HRESULT GetTexture(
[in] IBuffer *pBuffer,
[out] IDirect3DTexture9 **ppTexture
);
Parameters
-
pBuffer [in]
-
Pointer to an IBuffer interface.
-
ppTexture [out]
-
Pointer to a new Direct3D IDirect3DTexture9 interface pointer to read from or write to. The caller must release this interface when done with it.
Return value
The method returns an HRESULT of S_OK for success, or a standard COM error code for failure.
Remarks
Your application will call this function on the input and output buffers passed to IMediaTransform::Process.
Requirements
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
Library |
|