예제 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="target"></param>
 /// <param name="storage"></param>
 /// <param name="mipmapBuilder"></param>
 /// <param name="texParameters"></param>
 public Texture(TextureTarget target, TexStorageBase storage, MipmapBuilder mipmapBuilder, params TexParameter[] texParameters)
 {
     this.Target        = target;
     this.Storage       = storage;
     this.mipmapBuilder = mipmapBuilder;
     this.builtInSampler.AddRange(texParameters);
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="storage"></param>
 /// <param name="texParameters"></param>
 public Texture(TexStorageBase storage, params TexParameter[] texParameters)
 {
     this.Storage = storage;
     this.builtInSampler.AddRange(texParameters);
 }