예제 #1
0
 public GlyphCacheEntry(
     GlyphCacheEntryKind kind,
     TextureCacheHandle textureCacheHandle,
     TextureCacheHandle outlineTextureCacheHandle)
 {
     Kind           = kind;
     _handle        = textureCacheHandle;
     _outlineHandle = outlineTextureCacheHandle;
 }
예제 #2
0
 public static GlyphCacheEntry Regular(
     TextureCacheHandle textureCacheHandle,
     TextureCacheHandle outlineTextureCacheHandle)
 {
     return(new(
                GlyphCacheEntryKind.Regular,
                textureCacheHandle,
                outlineTextureCacheHandle
                ));
 }