GraphicsStateCollection
Create a GraphicsStateCollection populated with contents of a file, or empty.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
GraphicsStateCollection()
Create a GraphicsStateCollection populated with contents of a file, or empty.
public GraphicsStateCollection()
Remarks
The file extension of GraphicsStateCollection is *.graphicsstate.
Note: On the Web platform, you can’t load a GraphicsStateCollection from a file because the platform doesn’t support it.
Additional Resources: GraphicsStateCollection.LoadFromFile.
GraphicsStateCollection(string)
Create a GraphicsStateCollection populated with contents of a file, or empty.
public GraphicsStateCollection(string filePath)
Parameters
Path to GraphicsStateCollection serialized file.
Remarks
The file extension of GraphicsStateCollection is *.graphicsstate.
Note: On the Web platform, you can’t load a GraphicsStateCollection from a file because the platform doesn’t support it.
Additional Resources: GraphicsStateCollection.LoadFromFile.