public bool CanShareRenderStage(IVoxelizationMethod obj)
        {
            VoxelizationMethodDominantAxis method = obj as VoxelizationMethodDominantAxis;

            if (method == null)
            {
                return(false);
            }
            return(true);
        }
        public override bool Equals(object obj)
        {
            VoxelizationMethodDominantAxis method = obj as VoxelizationMethodDominantAxis;

            if (method == null)
            {
                return(false);
            }
            if (method.MultisampleCount != MultisampleCount)
            {
                return(false);
            }
            return(true);
        }