![]() |
Plasma Engine
2.0
|
Optional interface for plGALTexture if it was created via plGALDevice::CreateSharedTexture. A plGALTexture can be a shared texture, but doesn't have to be. Access through plGALDevice::GetSharedTexture. More...
#include <Texture.h>
Public Member Functions | |
virtual plGALPlatformSharedHandle | GetSharedHandle () const =0 |
Returns the handle that can be used to open this texture on another device / process. Call plGALDevice::OpenSharedTexture to do so. | |
virtual void | WaitSemaphoreGPU (plUInt64 uiValue) const =0 |
Before the current render pipeline is executed, the GPU will wait for the semaphore to have the given value. | |
virtual void | SignalSemaphoreGPU (plUInt64 uiValue) const =0 |
Once the current render pipeline is done on the GPU, the semaphore will be signaled with the given value. | |
Optional interface for plGALTexture if it was created via plGALDevice::CreateSharedTexture. A plGALTexture can be a shared texture, but doesn't have to be. Access through plGALDevice::GetSharedTexture.
|
pure virtual |
Returns the handle that can be used to open this texture on another device / process. Call plGALDevice::OpenSharedTexture to do so.
Implemented in plGALSharedTextureDX11, and plGALSharedTextureVulkan.
|
pure virtual |
Once the current render pipeline is done on the GPU, the semaphore will be signaled with the given value.
iValue | Value the semaphore is set to once we are done using the texture (after the current render pipeline). |
Implemented in plGALSharedTextureDX11, and plGALSharedTextureVulkan.
|
pure virtual |
Before the current render pipeline is executed, the GPU will wait for the semaphore to have the given value.
iValue | Value the semaphore needs to have before the texture can be used. |
Implemented in plGALSharedTextureDX11, and plGALSharedTextureVulkan.