unreal.BufferDataProvider

class unreal.BufferDataProvider(outer: Object | None = None, name: Name | str = 'None')

Bases: ComputeDataProvider

Compute data provider implementation for UComputeDataInterfaceBuffer.

C++ Source:

  • Plugin: ComputeFramework

  • Module: ComputeDataInterface

  • File: ComputeDataInterfaceBuffer.h

Editor Properties: (see get_editor_property/set_editor_property)

  • clear_before_use (bool): [Read-Write] Whether to clear the buffer before use.

  • element_count (int32): [Read-Write] The size of the buffer.

property clear_before_use: bool

[Read-Write] Whether to clear the buffer before use.

Type:

(bool)

property element_count: int

[Read-Write] The size of the buffer.

Type:

(int32)