浏览代码

added ResourceState.and

Nicolas Cannasse 1 年之前
父节点
当前提交
a89331feec
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      libs/directx/dx/Dx12.hx

+ 1 - 0
libs/directx/dx/Dx12.hx

@@ -363,6 +363,7 @@ enum abstract ResourceState(Int) {
 	public var VIDE_ENCODE_READ = 0x200000;
 	public var VIDE_ENCODE_WRITE = 0x800000;
 	@:op(a|b) function or(r:ResourceState):ResourceState;
+	@:op(a&b) function and(r:ResourceState):ResourceState;
 }
 
 @:struct class Color {