Static variables
Static methods
Variables
Methods
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
setRenderTarget(tex:Null<Texture>, layer:Int = 0, mipLevel:Int = 0, 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.
