Version: 2023.1

AttachmentDescriptorConstructor

切换到手册
public AttachmentDescriptor (RenderTextureFormat format);
public AttachmentDescriptor (Experimental.Rendering.GraphicsFormat format);
public AttachmentDescriptor (RenderTextureFormat format, Rendering.RenderTargetIdentifier target, bool loadExistingContents, bool storeResults, bool resolve);

参数

fmt 附件的格式。

描述

创建要用于 RenderPass 的 AttachmentDescriptor。