Example #1
0
        public bool CanShareRenderStage(IVoxelizationMethod obj)
        {
            VoxelizationMethodDominantAxis method = obj as VoxelizationMethodDominantAxis;

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

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