Example #1
0
 public static TextureSourceFilter <TTexture> ToFilter <TTexture>(this IManagedTexture <TTexture> texture)
     where TTexture : class, IBaseTexture
 {
     return(new TextureSourceFilter <TTexture>(texture.GetLease()));
 }
Example #2
0
 public ManagedTextureFilter(IManagedTexture <TTexture> texture)
     : this(texture.GetLease())
 {
 }