Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GraphicsStateCollection

Create a GraphicsStateCollection populated with contents of a file, or empty.
Read time 1 minuteLast updated 4 days ago

Definition

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.

GraphicsStateCollection(string)

Create a GraphicsStateCollection populated with contents of a file, or empty.
public GraphicsStateCollection(string filePath)

Parameters

filePath

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.