Skip to content

ScratchResourceClass enumeration

Compatibility class that keeps scratch surfaces rented for one purpose from being reused for another.

public enum ScratchResourceClass
name value description
General 0 General-purpose scratch surface; may be served by a larger allocation.
FilterIntermediate 1 Filter graph intermediate; requires an exact-size allocation.
AtlasPage 2 A page of a glyph or image atlas.