13 /// A user-implemented method for opening and reading the contents of a shader #include file.
14 /// </summary>
15 /// <param name="type">A <see cref="IncludeType"/>-typed value that indicates the location of the #include file.</param>
16 /// <param name="fileName">Name of the #include file.</param>
17 /// <param name="parentStream">Pointer to the container that includes the #include file.</param>
18 /// <returns>Stream that is associated with fileName to be read. This reference remains valid until <see cref="IncludeHandler.Close"/> is called.</returns>
22 /// A user-implemented method for closing a shader #include file.
23 /// </summary>
24 /// <remarks>
25 /// If <see cref="IncludeHandler.Open"/> was successful, Close is guaranteed to be called before the API using the <see cref="IncludeHandler"/> interface returns.
26 /// </remarks>
27 /// <param name="stream">This is a reference that was returned by the corresponding <see cref="IncludeHandler.Open"/> call.</param>