captureTargetPixels
此内容尚不支持你的语言。
captureTargetPixels(
module,target,width,height):Promise<FramePixels|null>
Defined in: sdk/src/render/framePixels.ts:84
What a render target holds, read from the engine once the GPU has drawn it (rows bottom-up, as a frame).
The draw happened before this is called; nothing here waits for it on the page’s thread. Null when the build cannot capture a target, the target is gone, or the readback never lands.
Parameters
Section titled “Parameters”module
Section titled “module”ESEngineModule
target
Section titled “target”number
number
height
Section titled “height”number
Returns
Section titled “Returns”Promise<FramePixels | null>