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