Navigation
API > API/Developer > API/Developer/Horde > API/Developer/Horde/Compute
References
| Module | Horde |
| Header | /Engine/Source/Developer/Horde/Public/Compute/ComputeChannel.h |
| Include | #include "Compute/ComputeChannel.h" |
Syntax
class FComputeChannel
Remarks
Allows bi-directional communication between two nodes using compute buffers
Variables
| Type | Name | Description | |
|---|---|---|---|
| FComputeBufferReader | Reader | Reader for the channel. | |
| FComputeBufferWriter | Writer | Writer for the channel. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FComputeChannel
(
FComputeBufferReader InReader, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | IsValid () |
Tests whether the channel is valid. | |
| void | MarkComplete () |
Indicate to the remote that no more data will be sent. | |
| size_t | Recv
(
void* Data, |
Reads as many bytes as are available from the socket. | |
| size_t | Send
(
const void* Data, |
Sends bytes to the remote. |