콘텐츠로 이동

IImageFilterContext.AcquireScratch method

이 콘텐츠는 아직 번역되지 않았습니다.

Rents a scratch render surface sized at least (pixelWidth, pixelHeight) from the pool. The returned ScratchFilterResult automatically releases the surface on Dispose. Callers must render INTO the scratch before returning it as the node’s output.

public ScratchFilterResult AcquireScratch(int pixelWidth, int pixelHeight, Rect bounds)
parameter description
pixelWidth Minimum required pixel width.
pixelHeight Minimum required pixel height.
bounds Bounds in source coordinates this scratch represents.