AttachmentIndexArray
Create and initialize a new AttachmentIndexArray.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
AttachmentIndexArray(int)
Create and initialize a new AttachmentIndexArray.
public AttachmentIndexArray(int numAttachments)
Parameters
Number of indices to allocate.
Remarks
Individual items can be read/writen using the indexer operator.
AttachmentIndexArray(int[])
Create and initialize a new AttachmentIndexArray.
public AttachmentIndexArray(int[] attachments)
Parameters
Allocate and copy the passed-in list of indices.
Remarks
Individual items can be read/writen using the indexer operator.
AttachmentIndexArray(NativeArray<int>)
Create and initialize a new AttachmentIndexArray.
public AttachmentIndexArray(NativeArray<int> attachments)
Parameters
Allocate and copy the passed-in list of indices.
Remarks
Individual items can be read/writen using the indexer operator.