コード例 #1
0
        public bool CanShareRenderStage(IVoxelizationMethod obj)
        {
            VoxelizationMethodSingleAxis method = obj as VoxelizationMethodSingleAxis;

            if (method == null)
            {
                return(false);
            }
            if (method.MultisampleCount != MultisampleCount)
            {
                return(false);
            }
            return(true);
        }
        public override bool Equals(object obj)
        {
            VoxelizationMethodSingleAxis method = obj as VoxelizationMethodSingleAxis;

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