コード例 #1
0
 /// <summary>
 /// Initialize new instance of <see cref="RenderPassEndingAccess"/> struct.
 /// </summary>
 /// <param name="type">The type of access being requested.</param>
 /// <param name="resolve">Appropriate when Type is <see cref="RenderPassEndingAccessType.Resolve"/>. Description of the resource to resolve to.</param>
 public RenderPassEndingAccess(
     RenderPassEndingAccessType type,
     RenderPassEndingAccessResolveParameters resolve)
 {
     Type    = type;
     Resolve = resolve;
 }
コード例 #2
0
 /// <summary>
 /// Initialize new instance of <see cref="RenderPassEndingAccess"/> struct.
 /// </summary>
 /// <param name="type">The type of access being requested.</param>
 public RenderPassEndingAccess(RenderPassEndingAccessType type)
 {
     Type    = type;
     Resolve = default;
 }