コード例 #1
0
 public static ITexture Construct(ITextureDescription desc)
 {
     return((Software.ITexture) typeof(Software.Textures).GetMethod("Construct", new Type[] { desc.GetType() })
            .Invoke(null, new object[] { desc }));
 }
コード例 #2
0
 public static ITexture Construct(ITextureDescription desc)
 {
     return (Software.ITexture)typeof(Software.Textures).GetMethod("Construct", new Type[] { desc.GetType() })
         .Invoke(null, new object[] { desc });
 }
コード例 #3
0
 private ITextureOutput Allocate(ITextureDescription input)
 {
     return(new TextureOutput(CalcSize(input.Size), CalcFormat(input.Format)));
 }