Explorar el Código

added ResourceState.and

Nicolas Cannasse hace 1 año
padre
commit
a89331feec
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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 {