![]() |
ezEngine
Release 25.03
|
Optional interface for ezGALTexture if it was created via ezGALDevice::CreateSharedTexture. A ezGALTexture can be a shared texture, but doesn't have to be. Access through ezGALDevice::GetSharedTexture. More...
#include <Texture.h>
Public Member Functions | |
virtual ezGALPlatformSharedHandle | GetSharedHandle () const =0 |
Returns the handle that can be used to open this texture on another device / process. Call ezGALDevice::OpenSharedTexture to do so. | |
virtual void | WaitSemaphoreGPU (ezUInt64 uiValue) const =0 |
Before the current render pipeline is executed, the GPU will wait for the semaphore to have the given value. More... | |
virtual void | SignalSemaphoreGPU (ezUInt64 uiValue) const =0 |
Once the current render pipeline is done on the GPU, the semaphore will be signaled with the given value. More... | |
Optional interface for ezGALTexture if it was created via ezGALDevice::CreateSharedTexture. A ezGALTexture can be a shared texture, but doesn't have to be. Access through ezGALDevice::GetSharedTexture.
|
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 ezGALSharedTextureDX11, and ezGALSharedTextureVulkan.
|
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 ezGALSharedTextureDX11, and ezGALSharedTextureVulkan.