Constructor
Methods
Inherited Variables
Defined by Driver
Inherited Methods
Defined by Driver
@:value({ barrier : true, z : 1, y : 1, x : 1 })computeDispatch(x:Int = 1, y:Int = 1, z:Int = 1, barrier:Bool = true):Void
copyTexture(from:Texture, to:Texture):Bool
Returns true if we could copy the texture, false otherwise (not supported by driver or mismatch in size/format)
readBufferBytesAsync(b:Buffer, startVertex:Int, vertexCount:Int, buf:Bytes, bufPos:Int, callback:() ‑> Void):Void
@:value({ depthBinding : ReadWrite, mipLevel : 0, layer : 0 })setRenderTarget(tex:Null<Texture>, layer:Int = 0, mipLevel:Int = 0, depthBinding:DepthBinding = ReadWrite):Void
@:value({ depthBinding : ReadWrite })setRenderTargets(textures:Array<Texture>, depthBinding:DepthBinding = ReadWrite):Void
setResidentMip(t:Texture, mip:Int):Bool
Reallocates the allocated texture so its most detailed mip level is mip, keeping the content
of the mip levels common to both allocations. Returns false if not supported or out of memory,
in which case the texture is unchanged. Requires the ResidentMips feature.
