콘텐츠로 이동

IRenderResourceCache.RentScratchSurface method (1 of 2)

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

Takes an exact or bounded larger scratch surface compatible with key, or null when the pool holds none. The caller owns the allocation until it is handed back via ReturnScratchSurface; the previous content is undefined.

public IRenderSurface? RentScratchSurface(ScratchSurfaceKey key)

IRenderResourceCache.RentScratchSurface method (2 of 2)

Section titled “IRenderResourceCache.RentScratchSurface method (2 of 2)”

Rents a scratch surface, optionally rejecting larger compatible allocations.

public IRenderSurface? RentScratchSurface(ScratchSurfaceKey key, bool exactSizeOnly)