Navigation
API > API/Developer > API/Developer/Horde > API/Developer/Horde/Compute
References
| Module | Horde |
| Header | /Engine/Source/Developer/Horde/Public/Compute/ComputeBuffer.h |
| Include | #include "Compute/ComputeBuffer.h" |
Syntax
class FComputeBufferWriter
Remarks
Facilitates writing data to a compute buffer
Constructors
| Type | Name | Description | |
|---|---|---|---|
FComputeBufferWriter
(
const FComputeBufferWriter& Other |
|||
FComputeBufferWriter
(
FComputeBufferWriter&& Other |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AdvanceWritePosition
(
size_t Size |
Move the write cursor forward by the given number of bytes. | |
| void | Close () |
Closes the handle to the underlying writer instance, resetting this instance back to empty. | |
| size_t | Get the max length of a chunk. | ||
| size_t | Gets the length of the current write buffer. | ||
| bool | IsValid () |
Test if the writer is valid. | |
| void | MarkComplete () |
Signal that we've finished writing to this buffer. | |
| unsigned char * | WaitToWrite
(
size_t MinSize, |
Waits until a write buffer of the requested size is available, and returns a pointer to it. | |
| size_t | Write
(
const void* Buffer, |
Writes data into the compute buffer. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FComputeBufferWriter & | operator=
(
const FComputeBufferWriter& Other |
||
| FComputeBufferWriter & | operator=
(
FComputeBufferWriter&& Other |