示例#1
0
 public DepthStencilState(DisposableI parent, DepthStencilStateDescI desc)
     : base(parent)
 {
     video     = parent.FindParentOrSelfWithException <Video>();
     this.desc = (DepthStencilStateDesc)desc;
 }
 public static DepthStencilState New(DisposableI parent, DepthStencilStateDescI desc)
 {
     return new DepthStencilState(parent, desc);
 }
示例#3
0
 public static DepthStencilState New(DisposableI parent, DepthStencilStateDescI desc)
 {
     return(new DepthStencilState(parent, desc));
 }
 public DepthStencilState(DisposableI parent, DepthStencilStateDescI desc)
     : base(parent)
 {
     video = parent.FindParentOrSelfWithException<Video>();
     this.desc = (DepthStencilStateDesc)desc;
 }