Table of Contents

Method AddTree

Namespace
Pinwheel.Vista
Assembly
Pinwheel.Vista.Runtime.dll

AddTree(TreeTemplate, ComputeBuffer)

Adds one tree template and its corresponding instance buffer.

public void AddTree(TreeTemplate template, ComputeBuffer buffer)

Parameters

template TreeTemplate

Tree template referenced by the instance buffer.

buffer ComputeBuffer

Buffer containing packed tree instances for template.

Remarks

Template and buffer ordering is significant. Consumers assume both collections stay index-aligned.