HDK
|
#include <blitCmds.h>
Public Member Functions | |
HGIGL_API | ~HgiGLBlitCmds () override |
HGIGL_API void | PushDebugGroup (const char *label) override |
Push a debug marker. More... | |
HGIGL_API void | PopDebugGroup () override |
Pop the lastest debug. More... | |
HGIGL_API void | CopyTextureGpuToCpu (HgiTextureGpuToCpuOp const ©Op) override |
HGIGL_API void | CopyTextureCpuToGpu (HgiTextureCpuToGpuOp const ©Op) override |
Copy new data from the CPU into a GPU texture. More... | |
HGIGL_API void | CopyBufferGpuToGpu (HgiBufferGpuToGpuOp const ©Op) override |
Copy a buffer resource from GPU to GPU. More... | |
HGIGL_API void | CopyBufferCpuToGpu (HgiBufferCpuToGpuOp const ©Op) override |
HGIGL_API void | CopyBufferGpuToCpu (HgiBufferGpuToCpuOp const ©Op) override |
HGIGL_API void | CopyTextureToBuffer (HgiTextureToBufferOp const ©Op) override |
Copy a texture resource into a buffer resource from GPU to GPU. More... | |
HGIGL_API void | CopyBufferToTexture (HgiBufferToTextureOp const ©Op) override |
Copy a buffer resource into a texture resource from GPU to GPU. More... | |
HGIGL_API void | GenerateMipMaps (HgiTextureHandle const &texture) override |
Generate mip maps for a texture. More... | |
HGIGL_API void | FillBuffer (HgiBufferHandle const &buffer, uint8_t value) override |
Fill a buffer with a constant value. More... | |
HGIGL_API void | InsertMemoryBarrier (HgiMemoryBarrier barrier) override |
Public Member Functions inherited from HgiBlitCmds | |
HGI_API | ~HgiBlitCmds () override |
Public Member Functions inherited from HgiCmds | |
virtual HGI_API | ~HgiCmds () |
HGI_API bool | IsSubmitted () const |
Returns true if the HgiCmds object has been submitted to GPU. More... | |
Protected Member Functions | |
HGIGL_API | HgiGLBlitCmds () |
HGIGL_API bool | _Submit (Hgi *hgi, HgiSubmitWaitType wait) override |
Protected Member Functions inherited from HgiBlitCmds | |
HGI_API | HgiBlitCmds () |
Protected Member Functions inherited from HgiCmds | |
HGI_API | HgiCmds () |
HGI_API void | _SetSubmitted () |
Friends | |
class | HgiGL |
OpenGL implementation of HgiBlitCmds.
Definition at line 39 of file blitCmds.h.
|
override |
|
protected |
|
overrideprotectedvirtual |
Reimplemented from HgiCmds.
|
overridevirtual |
Copy new data from CPU into GPU buffer. For example copy new data into a uniform block or storage buffer.
Implements HgiBlitCmds.
|
overridevirtual |
Copy new data from GPU into CPU buffer. Synchronization between GPU writes and CPU reads must be managed by the client by supplying the correct 'wait' flags in SubmitCmds.
Implements HgiBlitCmds.
|
overridevirtual |
Copy a buffer resource from GPU to GPU.
Implements HgiBlitCmds.
|
overridevirtual |
Copy a buffer resource into a texture resource from GPU to GPU.
Implements HgiBlitCmds.
|
overridevirtual |
Copy new data from the CPU into a GPU texture.
Implements HgiBlitCmds.
|
overridevirtual |
Copy a texture resource from GPU to CPU. Synchronization between GPU writes and CPU reads must be managed by the client by supplying the correct 'wait' flags in SubmitCmds.
Implements HgiBlitCmds.
|
overridevirtual |
Copy a texture resource into a buffer resource from GPU to GPU.
Implements HgiBlitCmds.
|
overridevirtual |
Fill a buffer with a constant value.
Implements HgiBlitCmds.
|
overridevirtual |
Generate mip maps for a texture.
Implements HgiBlitCmds.
|
overridevirtual |
Inserts a barrier so that data written to memory by commands before the barrier is available to commands after the barrier.
Implements HgiBlitCmds.
Pop the lastest debug.
Implements HgiBlitCmds.
Push a debug marker.
Implements HgiBlitCmds.
Definition at line 82 of file blitCmds.h.