format
The pixel format for the GraphicsTexture expressed as a GraphicsFormat.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
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 supports GraphicsFormatUsage.Render usage by using SystemInfo.IsFormatSupported.
format