|
Blender
V2.93
|
Public Member Functions | |
| GHOST_SharedOpenGLResource (ID3D11Device *device, ID3D11DeviceContext *device_ctx, unsigned int width, unsigned int height, ID3D11RenderTargetView *render_target=nullptr) | |
| ~GHOST_SharedOpenGLResource () | |
| void | reregisterSharedObject () |
| GHOST_TSuccess | initialize () |
| void | ensureUpdated (unsigned int width, unsigned int height) |
| GHOST_TSuccess | blit (unsigned int width, unsigned int height) |
Public Attributes | |
| ID3D11RenderTargetView * | m_render_target {nullptr} |
| ID3D11Texture2D * | m_render_target_tex {nullptr} |
Definition at line 123 of file GHOST_ContextD3D.cpp.
|
inline |
Definition at line 131 of file GHOST_ContextD3D.cpp.
References DXGI_FORMAT_R8G8B8A8_UNORM, height, m_render_target, m_render_target_tex, NULL, tex, and width.
|
inline |
Definition at line 185 of file GHOST_ContextD3D.cpp.
References m_render_target, and m_render_target_tex.
|
inline |
Definition at line 265 of file GHOST_ContextD3D.cpp.
References ensureUpdated(), err, GHOST_kFailure, GHOST_kSuccess, height, m_render_target, m_render_target_tex, and width.
Referenced by GHOST_ContextD3D::blitFromOpenGLContext().
|
inline |
Definition at line 252 of file GHOST_ContextD3D.cpp.
References height, initialize(), reregisterSharedObject(), and width.
Referenced by blit().
|
inline |
Definition at line 228 of file GHOST_ContextD3D.cpp.
References GHOST_kFailure, GHOST_kSuccess, NULL, and reregisterSharedObject().
Referenced by ensureUpdated().
|
inline |
Definition at line 206 of file GHOST_ContextD3D.cpp.
References m_render_target_tex.
Referenced by ensureUpdated(), and initialize().
| ID3D11RenderTargetView* GHOST_SharedOpenGLResource::m_render_target {nullptr} |
Definition at line 303 of file GHOST_ContextD3D.cpp.
Referenced by blit(), GHOST_SharedOpenGLResource(), and ~GHOST_SharedOpenGLResource().
| ID3D11Texture2D* GHOST_SharedOpenGLResource::m_render_target_tex {nullptr} |
Definition at line 304 of file GHOST_ContextD3D.cpp.
Referenced by blit(), GHOST_ContextD3D::getSharedTexture2D(), GHOST_SharedOpenGLResource(), reregisterSharedObject(), and ~GHOST_SharedOpenGLResource().