Table of Contents

Struct RenderData

Data for a VulkanAPI render event.

public readonly struct RenderData
Extension Methods

Constructors

RenderData(nint, int, ulong, nint, nint)

public RenderData(nint sourceHardwareBuffer, int sourceHardwareBufferDataSpace, ulong sourceHardwareBufferId, nint destinationImage, nint onDone)

Parameters

sourceHardwareBuffer nint
sourceHardwareBufferDataSpace int
sourceHardwareBufferId ulong
destinationImage nint
onDone nint

Fields

Align

Alignment of this struct (UnsafeUtility.AlignOf<T>()).

public static readonly int Align

Field Value

int

DestinationImage

The target Unity-created VkImage to render to.

public readonly nint DestinationImage

Field Value

nint

OnDone

Method with signature of RenderData.Callback.

public readonly nint OnDone

Field Value

nint

Size

Size of this struct (UnsafeUtility.SizeOf<T>()).

public static readonly int Size

Field Value

int

SourceHardwareBuffer

The source AHardwareBuffer to render from.

public readonly nint SourceHardwareBuffer

Field Value

nint

SourceHardwareBufferDataSpace

The data space of SourceHardwareBuffer.

public readonly int SourceHardwareBufferDataSpace

Field Value

int

SourceHardwareBufferId

The global unique ID of SourceHardwareBuffer.

public readonly ulong SourceHardwareBufferId

Field Value

ulong