/// <summary>
 /// Initialize new instance of <see cref="RenderPassBeginningAccess"/> struct.
 /// </summary>
 /// <param name="type">The type of access being requested.</param>
 /// <param name="clearValue">Appropriate when Type is <see cref="RenderPassBeginningAccessType.Clear"/>. The clear value to which resource(s) should be cleared.</param>
 public RenderPassBeginningAccess(RenderPassBeginningAccessType type, ClearValue clearValue)
 {
     Type  = type;
     Clear = new RenderPassBeginningAccessClearParameters {
         ClearValue = clearValue
     };
 }
 /// <summary>
 /// Initialize new instance of <see cref="RenderPassBeginningAccess"/> struct.
 /// </summary>
 /// <param name="type">The type of access being requested.</param>
 /// <param name="clear">Appropriate when Type is <see cref="RenderPassBeginningAccessType.Clear"/>. The clear value to which resource(s) should be cleared.</param>
 public RenderPassBeginningAccess(RenderPassBeginningAccessType type, RenderPassBeginningAccessClearParameters clear)
 {
     Type  = type;
     Clear = clear;
 }
 /// <summary>
 /// Initialize new instance of <see cref="RenderPassBeginningAccess"/> struct.
 /// </summary>
 /// <param name="type">The type of access being requested.</param>
 public RenderPassBeginningAccess(RenderPassBeginningAccessType type)
 {
     Type  = type;
     Clear = new RenderPassBeginningAccessClearParameters();
 }