기술 자료

Unity Engine

Unity Engine

GraphicsStateCollection

Create a GraphicsStateCollection populated with contents of a file, or empty.
읽는 시간 1분최근 업데이트: 한 달 전

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.