This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
SharedDXGLTexture Class Reference
Inheritance diagram for SharedDXGLTexture:

Public Member Functions | |
SharedDXGLTexture () | |
~SharedDXGLTexture () | |
bool | allocate (ofPixelFormat afmt, int aw, int ah) |
bool | create (DXGI_FORMAT aDxFormat) override |
bool | transferFrame (IMFMediaEngine *aengine) override |
bool | isValid () override |
HANDLE | getGLDXHandle () |
ID3D11Texture2D * | getDXTexture () |
bool | draw (ofPixels &apix) override |
bool | updatePixels (ofTexture &aSrcTex, ofPixels &apix, ofPixelFormat aTargetPixFormat) override |
bool | lock () |
bool | unlock () |
bool | isLocked () |
![]() | |
int | getWidth () |
int | getHeight () |
Protected Attributes | |
ComPtr< ID3D11Texture2D > | mDXTex { nullptr } |
ComPtr< ID3D11Texture2D > | stagingTexture { nullptr } |
bool | mBValid = false |
HANDLE | mGLDX_Handle |
bool | mBLocked = false |
![]() | |
unsigned int | mWidth = 0 |
unsigned int | mHeight = 0 |
MFARGB | bgColor { 0, 0, 0, 0 } |
MFVideoNormalizedRect | mNormalizedVidRect { 0.0f, 0.0f, 1.0f, 1.0f } |
ofPixelFormat | mOfPixFmt |
std::shared_ptr< ofTexture > | mOfTex |
ofPixels | mSrcPixels |
Additional Inherited Members | |
![]() | |
bool | _swapPixelsFromSrc4ChannelTo3 (ofPixels &aDstPix) |
Constructor & Destructor Documentation
◆ SharedDXGLTexture()
|
inline |
◆ ~SharedDXGLTexture()
SharedDXGLTexture::~SharedDXGLTexture | ( | ) |
Member Function Documentation
◆ allocate()
|
virtual |
Reimplemented from ofMediaFoundationPlayer::METexture.
◆ create()
|
overridevirtual |
Implements ofMediaFoundationPlayer::METexture.
◆ draw()
|
overridevirtual |
Implements ofMediaFoundationPlayer::METexture.
◆ getDXTexture()
|
inline |
◆ getGLDXHandle()
|
inline |
◆ isLocked()
bool SharedDXGLTexture::isLocked | ( | ) |
◆ isValid()
|
inlineoverridevirtual |
Implements ofMediaFoundationPlayer::METexture.
◆ lock()
bool SharedDXGLTexture::lock | ( | ) |
◆ transferFrame()
|
overridevirtual |
Implements ofMediaFoundationPlayer::METexture.
◆ unlock()
bool SharedDXGLTexture::unlock | ( | ) |
◆ updatePixels()
|
overridevirtual |
Implements ofMediaFoundationPlayer::METexture.
Member Data Documentation
◆ mBLocked
|
protected |
◆ mBValid
|
protected |
◆ mDXTex
|
protected |
◆ mGLDX_Handle
|
protected |
◆ stagingTexture
|
protected |
The documentation for this class was generated from the following file:
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/video/ofMediaFoundationPlayer.cpp