Ejemplo n.º 1
0
 public GraphicsBuffer(GraphicsDevice device, GraphicsBufferDescription description) : base(device, CreateResource(device, description))
 {
     InitializeFromDescription(description);
 }
Ejemplo n.º 2
0
 public static GraphicsBuffer Create(GraphicsDevice device, GraphicsBufferDescription description)
 {
     return(new GraphicsBuffer(device, description));
 }
Ejemplo n.º 3
0
 public static GraphicsBuffer New(GraphicsDevice device, GraphicsBufferDescription description)
 {
     return(new GraphicsBuffer(device).InitializeFrom(description));
 }