<file> (//pfx/shader/file)

<file> provides a file containing shader code in whatever format is suitable for the implementation and API version.

<file> provides a file containing shader code in whatever format is suitable for the implementation and API version.

XML Attributes (<file> element)

ATTRIBUTE

Description

path

The file that contains the source for this shader

apiversion (OPTIONAL) A string describing which API versions this element will be active for. If omitted, always active.