文档

Unity Engine

Unity Engine

format

The pixel format for the GraphicsTexture expressed as a GraphicsFormat.
阅读时间1 分钟最后更新于 1 个月前

Definition

public GraphicsFormat format

Remarks

Not all graphics cards support all uses across formats. Before enabling GraphicsTextureDescriptorFlags.RenderTarget on a GraphicsTexture, you can check if the
format
supports GraphicsFormatUsage.Render usage by using SystemInfo.IsFormatSupported.