public void UpdateWorldMatrix(DeviceContext ctx, Matrix worldMatrix)
 {
     perObject.UpdatePerObjectBuffer(ctx, worldMatrix);
 }
 /// <summary>
 /// Create GPU buffers necessary for the object
 /// </summary>
 public void CreateBuffers(DX11Game game)
 {
     perObject = DeferredMaterial.CreatePerObjectCB(game);
     perObject.UpdatePerObjectBuffer(game.Device.ImmediateContext, Matrix.Identity);
 }