public void SetStates(BlendState blend, DepthStencilState depth) { DepthStencilState.Set(depth); BlendingState.Set(blend); }