Talvos
0.1
SPIR-V interpreter and dynamic analysis framework
|
This class encapsulates information about a copy buffer to image command. More...
#include <talvos/Commands.h>
Public Member Functions | |
CopyBufferToImageCommand (uint64_t SrcAddr, const Image &DstImage, const std::vector< VkBufferImageCopy > &Regions) | |
Create a new CopyBufferToImageCommand. More... | |
Public Member Functions inherited from talvos::Command | |
Type | getType () const |
Returns the type of this command. More... | |
void | run (Device &Dev) const |
Run this command on Dev . More... | |
Protected Member Functions | |
virtual void | runImpl (Device &Dev) const override |
Command execution handler. More... | |
Protected Member Functions inherited from talvos::Command | |
Command (Type Ty) | |
Used by subclasses to initialize the command type. More... | |
Private Attributes | |
uint64_t | SrcAddr |
The memory address of the source buffer. More... | |
const Image & | DstImage |
The destination image. More... | |
std::vector< VkBufferImageCopy > | Regions |
The regions to copy. More... | |
Additional Inherited Members | |
Public Types inherited from talvos::Command | |
enum | Type { BEGIN_RENDER_PASS, BLIT_IMAGE, CLEAR_ATTACHMENT, CLEAR_COLOR_IMAGE, COPY_BUFFER, COPY_BUFFER_TO_IMAGE, COPY_IMAGE, COPY_IMAGE_TO_BUFFER, DISPATCH, DRAW, DRAW_INDEXED, END_RENDER_PASS, FILL_BUFFER, NEXT_SUBPASS, SET_EVENT, RESET_EVENT, UPDATE_BUFFER, WAIT_EVENTS } |
Identifies different Command subclasses. More... | |
Protected Attributes inherited from talvos::Command | |
Type | Ty |
The type of this command. More... | |
This class encapsulates information about a copy buffer to image command.
Definition at line 200 of file Commands.h.
|
inline |
Create a new CopyBufferToImageCommand.
Definition at line 204 of file Commands.h.
|
overrideprotectedvirtual |
|
private |
The destination image.
Definition at line 219 of file Commands.h.
|
private |
The regions to copy.
Definition at line 222 of file Commands.h.
|
private |
The memory address of the source buffer.
Definition at line 216 of file Commands.h.